0.1.4 • Published 4 years ago

generator-mvvm-cli v0.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

generator-mvvm-cli

NPM version license status Coverage Status Build Status

Yeoman generator cli for React/Vue + Webpack.

Lets you quickly set up a project with:

  • simple template with React/Vue without create-react-app / vue-cli
  • create dir and installDependencies auto/Manual;
  • your favorite technologies
  • web best pratices.
  • guidelines powered by Google.

Installation

First, install Yeoman and generator-mvvm-cli using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-mvvm-cli

Then generate your new project:

yo mvvm-cli

feature lists

React-template

  • React 16.10.2
  • webpack 4
    • webpack-dev-server
  • babel (default: @babel 7)
  • redux
    • react-redux
    • redux-logger
    • redux-thunk
    • redux-devtools-extension

Vue-template

  • Vue
  • webpack 4
    • webpack-dev-server
  • babel (default: @babel 7)
  • Vuex

template file list

// react
│  .babelrc
│  .gitignore
│  package-lock.json
│  package.json
│  README.md
│  yarn-error.log
│  yarn.lock
│  
├─src
│      App.css
│      App.js
│      index.html
│      index.js
│      
└─webpack
    ├─build
    │      webpack.base.conf.js
    │      webpack.dev.conf.js
    │      webpack.prod.conf.js
    │      
    ├─config
    │      index.js
    │      resolve.js
    │      
    └─dist
            index.html
// vue
|-- README.md
|-- _package.json
|-- info.txt
|-- package.json
|-- src
|   |-- App.css
|   |-- App.vue
|   |-- index.html
|   |-- index.js
|   |-- router.js
|   |-- views
|   |   `-- Home.vue
|   `-- vuex
|       |-- modules
|       |   `-- global.js
|       `-- store.js
|-- webpack
|   |-- build
|   |   |-- webpack.base.conf.js
|   |   |-- webpack.dev.conf.js
|   |   `-- webpack.prod.conf.js
|   |-- config
|   |   |-- index.js
|   |   `-- resolve.js
|   `-- dist
|       `-- index.html
`-- yarn.lock

License

MIT © xingtao

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0

4 years ago