vue-cva2
My splendid Vue app
Install
yarn add vue-cva2
Usage
//... your code
Folder structure
src/
: Source files for this componentvueCva2.vue
The component itself
example/
: Example for demonstrating this componentindex.js
: Entry for the exampleApp.vue
: The root component which we use to load this component
vbuild.example.js
: Config file for your examplevbuild.component.js
: Config file for your componentpackage.json
: App manifest.editorconfig
: Ensure consistent editor behaivor.gitignore
: Ignore files we don't need to push
Development
yarn example
: Run example in development modeyarn deploy
: Deploy example to gh-pagesyarn build:cjs
: Build component in commonjs formatyarn build:umd
: Build component in umd formatyarn build
: Build component in both formatyarn lint
: Run eslint
Check out your npm scripts, it's using vbuild under the hood.
Generated by create-vue-app