/vue.js-starter-template

A starter template for Vue.js projects

Primary LanguageJavaScriptMIT LicenseMIT

Vue.js starter template

Software License

Starter-template for a project using Vue.js library.

Built with:

Getting started

  1. Be sure you have Yarn installed globally.
  2. Clone the repo & run yarn from the project root.

Directory structure

See instructions

Available commands

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.

License

MIT