Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

michalzaq12/vue-web-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vuetify logo Vuetify logo Webpack logo

vue-web-starter is a basic Vue.js starter
which uses Vue 2, Vuetify and Webpack 3.

Quick start

# install dependencies
npm install

# build all vendor modules (only once)
npm run dll

# serve with hot reload at localhost:3333
npm run dev

# build for github pages
npm run gh

Includes

  • module bundler

    • webpack 3
  • vue ecosystem

    • vue 2
    • vue-loader
    • vuex
    • vue-router
  • UI framework

    • vuetify
  • HTTP client

    • axios
  • extra loaders

    • babel
    • sass

Features

dev

  • Hot reloading for single-file components (webpack-hot-middleware)
  • Multi webpack configuration based on env variable (monfy)
  • Separate configuration for vendor modules to speed up build (dll-plugin)

app

  • Fetching posts from REST API JSONPlaceholder and store it in vuex
  • Pagination on desktop devices
  • Infinite scrolling on mobile devices