Skip to content

villeristi/vue.js-starter-template

Repository files navigation

Vue.js starter template

A bare-bones starter-template to get your hands dirty with awesome 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

Single File Components

See instructions for example usage of single file components.

Available commands

yarn start

Runs the Webpack module-bundler, starts watching for changes & launches the BrowserSync server to http://localhost:3000 (it's possible to change the port from package.json config-section). Uses Webpack Dashboard

Note! Webpack handles all the reloading stuff while BrowserSync just proxies the default webpack-port (8080) giving the possibility to connect to dev-server from multiple devices: BrowserSync

yarn lint:js

Lints javascript-files inside /src directory

yarn build

Runs the webpack module-bundler with production-settings (compress etc.) and builds the project to /build directory.

Demo

Navigate to https://vue-starter.ville.io/ and see the awesomeness IRL :bowtie: