https://github.com/deveodk/vue2-spa-starter
A single-page application starter-pack in vue.js 2 with optimized structure and pre-implemented useful packages. Made with <3 by @Deveodk.
https://github.com/deveodk/vue2-spa-starter
spa starter-template template vue vuejs vuejs2
Last synced: 2 months ago
JSON representation
A single-page application starter-pack in vue.js 2 with optimized structure and pre-implemented useful packages. Made with <3 by @Deveodk.
- Host: GitHub
- URL: https://github.com/deveodk/vue2-spa-starter
- Owner: Deveodk
- License: mit
- Created: 2017-05-15T19:53:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T13:43:07.000Z (over 5 years ago)
- Last Synced: 2025-01-13T11:13:12.045Z (4 months ago)
- Topics: spa, starter-template, template, vue, vuejs, vuejs2
- Language: Vue
- Homepage:
- Size: 1.17 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue2_project_template
> A clean vue2 template with the Deveo structure and pre-implemented useful packages and methods. This repo should be used as a template when creating new Deveo projects.### Structure:
* Webpack compiler with hot reload
* Sass-loader (Bootstrap and Font Awesome pre-installed)
* ESLint code linting
* Unit testing with Karma + Mocha
* End-to-end testing with Nightwatch
* API requests as services with VueAxios
* Global eventHub### Included packages:
* vue-router
* vuex
* vue-axios
* vue-moment
* node-sass
* sass-loader### Included methods:
* Check if user is online, otherwise throw offline template
* In case of bad URL request, throw 404 template### Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report# run unit tests
npm run unit# run e2e tests
npm run e2e# run all tests
npm test
```### License
[MIT](http://opensource.org/licenses/MIT)[](https://deveo.dk)