A bare-bones starter-template to get your hands dirty with awesome Vue.js library.
Built with:
- Vue.js 2
- Vue Router 2
- Vue Resouce
- Babel
- BrowserSync
- ESLint
- Webpack
- SASS
- JSONPlaceholder
- Bootstrap 4
- Font Awesome
Navigate to http://vue-starter.testi.in/ and see the awesomeness IRL
Clone the repo & run npm install
from the project root
npm 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).
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:
npm run lint:js
Lints javascript-files inside /src
directory
npm run build
Runs the webpack module-bundler with production-settings (compress etc.) and builds the project to /build
directory.