0.0.1 • Published 7 years ago

vue-cva2 v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

vue-cva2

My splendid Vue app

Install

yarn add vue-cva2

Usage

import vueCva2 from 'vue-cva2'

//... your code

Folder structure

  • src/: Source files for this component
    • vueCva2.vue The component itself
  • example/: Example for demonstrating this component
    • index.js: Entry for the example
    • App.vue: The root component which we use to load this component
  • vbuild.example.js: Config file for your example
  • vbuild.component.js: Config file for your component
  • package.json: App manifest
  • .editorconfig: Ensure consistent editor behaivor
  • .gitignore: Ignore files we don't need to push

Development

  • yarn example: Run example in development mode
  • yarn deploy: Deploy example to gh-pages
  • yarn build:cjs: Build component in commonjs format
  • yarn build:umd: Build component in umd format
  • yarn build: Build component in both format
  • yarn lint: Run eslint

Check out your npm scripts, it's using vbuild under the hood.


Generated by create-vue-app