0.0.1 • Published 9 years ago
vue-cva2 v0.0.1
vue-cva2
My splendid Vue app
Install
yarn add vue-cva2Usage
import vueCva2 from 'vue-cva2'
//... your codeFolder structure
src/: Source files for this componentvueCva2.vueThe 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