前端生成目录结构

  • 全局安装插件mddir
cnpm install mddir -g 
  • 运行命令mddir
mddir
  • 结果生成一个文件:
    前端生成目录结构
  • 生成的项目树
|-- undefined
    |-- .eslintrc.js
    |-- .gitignore
    |-- babel.config.js
    |-- package.json
    |-- README.md
    |-- vue.config.js
    |-- yarn-error.log
    |-- yarn.lock
    |-- public
    |   |-- favicon.ico
    |   |-- index.html
    |-- src
        |-- App.vue
        |-- main.js
        |-- router.js
        |-- assets
        |   |-- css
        |   |   |-- init.less
        |   |-- js
        |       |-- config.js
        |-- components
        |   |-- HelloWorld.vue
        |-- pages
            |-- 404.vue
            |-- a.vue

相关文章:

  • 2021-06-25
  • 2021-09-12
  • 2021-07-28
  • 2022-01-01
  • 2022-12-23
  • 2021-11-19
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2021-09-11
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2022-03-02
相关资源
相似解决方案