Skip to content

srkntrn/vuetify-boilerplate

 
 

Repository files navigation

Vuetify Boilerplate

Vuetify Boilerplate is built upon the Vuetify SSR Webpack Template.

The frontend was built using the Vue-Hackernews-2.0 Template, and uses vue-router and vuex, with server-side rendering; vue-router and vuex store are kept in sync using vuex-router-sync.

Features

  • Server Side Rendering
    • Vue + vue-router + vuex working together
    • Server-side data pre-fetching
    • Client-side state & DOM hydration
    • Automatically inlines CSS used by rendered components only
    • Preload / prefetch resource hints
    • Route-level code splitting
  • Progressive Web App
    • App manifest
    • Service worker
    • 100/100 Lighthouse score
  • Single-file Vue Components
    • Hot-reload in development
    • CSS extraction for production
  • Animation
    • Effects when switching route views
    • Real-time list updates with FLIP Animation
  • Awesome-vue
    • Integrated components from developer community

Architecture Overview

screen shot 2016-08-11 at 6 06 57 pm

A detailed Vue SSR guide can be found here.

Pre-setup

#clone original repo
git clone https://github.com/vuetifyjs/webpack-ssr.git

#create instance template
vue init vuetifyjs/webpack-ssr ../vuetify-boilerplate

#go to root
cd ../vuetify-boilerplate

# install dependencies
sudo npm install

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

Build

#clone this repo
git clone https://github.com/chuycepeda/vuetify-boilerplate.git

#go to root
cd vuetify-boilerplate

# 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

License

MIT

For additional information, please visit the Official Documentation.

About

A Vue.js project using vuetify, vue router and vuex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.4%
  • Vue 20.0%
  • HTML 3.6%