Starter-template for a project using Vue.js library.
Built with:
- Be sure you have Yarn installed globally.
- Clone the repo & run
yarn
from the project root.
See instructions
yarn start
Command starts a dev server (based on webpack-dev-server) that comes with Hot-Module-Replacement (HMR) working out of the box.
In addition to the command line flags, you can also configure the dev server using the devServer field in vue.config.js
yarn lint
Lints and fixes files. If no specific files are given, it lints all files in src
and test
.
yarn build
Produces a production-ready bundle in the dist/ directory, with minification for JS/CSS/HTML and auto vendor chunk splitting for better caching. The chunk manifest is inlined into the HTML.
yarn test:unit
Run unit tests with Jest.