Skip to content

📦 Yeoman generator to build your own Vue.js components

License

Notifications You must be signed in to change notification settings

ianaya89/generator-vue-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-vue-component

📦 Yeoman generator to build your own Vue.js components

bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

yo

Support

  • Vue.js 2 => generator-vue-component@>=2.0.0 [master]
  • Vue.js 1 => generator-vue-component@1.0.0

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

About

📦 Yeoman generator to build your own Vue.js components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published