Generator Vue Component Save

πŸ“¦ Yeoman generator to build your own Vue.js components

Project README

generator-vue-component

πŸ“¦ Yeoman generator to build your own Vue.js components

bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

yo

Support

Installation

  1. First, install Yeoman and generator-vue-component using npm (we assume you have pre-installed node.js).
$ npm install -g yo
$ npm install -g generator-vue-component
  1. Create your project directory and access it.
$ mkdir my-awesome-component
$ cd my-awesome-component
  1. Then generate your new project:
yo vue-component

Scaffolding

└───docs/
    β”œβ”€β”€β”€App.vue
    β”œβ”€β”€β”€main.js
└───src/
    β”œβ”€β”€β”€assets/
        └───vue.png
    β”œβ”€β”€β”€HelloWorld.vue
    β”œβ”€β”€β”€index.js
β”œβ”€β”€β”€.babelrc
β”œβ”€β”€β”€.editorconfig
β”œβ”€β”€β”€.eslintignore
β”œβ”€β”€β”€.eslintrc.
β”œβ”€β”€β”€.gitignore
β”œβ”€β”€β”€.npmignore
β”œβ”€β”€β”€LICENSE
β”œβ”€β”€β”€package.json
β”œβ”€β”€β”€README.md
β”œβ”€β”€β”€webpack.config.js

Development Setup

# install dependencies
$ npm install

# dev mode
$ npm run dev

# build component and get production release
$ npm run build

TODO

  1. Jest Integration [help wanted πŸ™]
  2. Docs production build

License

MIT License

Style

js-standard-style

⌨️ with ❀️ by @ianaya89

Open Source Agenda is not affiliated with "Generator Vue Component" Project. README Source: ianaya89/generator-vue-component
Stars
32
Open Issues
2
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating