• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    JavaScript
  • Created over 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fully featured Vue.js boilerplate project that uses Vuex, vue-router, vue-i18n, Server Side Rendering and much, much more.

vue-webpack-ssr-fully-featured

A fully featured Vue.js boilerplate project that uses Vuex, vue-router, vue-i18n, Server Side Rendering and much, much more.

This is intended as a starting point for medium/big sized projects but also as a quick reference on how to do common things in the Vue ecosystem.

Features

  • Server Side Rendering
    • Async data fetching before rendering
    • Client hydration
    • Return the HTTP code you want
  • Routing with vue-router
  • State management with vuex
  • Internazionalization with vue-i18n
    • Static/Compile-time i18n
    • Dynamic/Runtime i18n
  • Head management
    • Title and meta tags support
  • 404 Page
    • Returns 404 HTTP code
  • Progressive Web App (WIP)
    • Install to home screen
  • Offline support (WIP)
  • Graceful error handling
    • Catch errors and handle them with ease
  • Build process managed by Webpack
    • Vue Single File Components
    • Write Javascript in ES6, Babel will transpile
    • Write style in Sass, just because plain CSS is boring
    • Write templates in pug, just because plain HTML is verbose
    • Code splitting and dynamic loading
      • Separate the requirements from your code
    • Automatic generation of Service Worker
    • Uglify and minify your JS
      • Only 56kB for loading all the home page.
    • Much more
  • Tests
    • Unit tests
      • Test components with avoriaz
      • Test Vuex actions and mutations
    • E2E tests
      • Test UI interaction with Nightwatch
  • Fully customizable
  • In-depth documentation

Todo

  • Find a better, shorter name for the project
  • Vuex/Store
  • Transform into a vue-cli template
    • Is it worth?

Docs

Quickstart:

git clone https://github.com/crisbal/vue-webpack-ssr-fully-featured
cd vue-webpack-ssr-fully-featured
npm install
npm run dev

Check out the official documentation for info on how to get started and to get an idea on how everything works.

Lighthouse Score

Lighthouse score

Contributing

Feel free to submit issues and pull requests, I will try to answer as soon as possible.

Thanks

For mostly the build scripts and SSR we are using code from a few different repos:

The code for the build scripts and SSR was taken and changed for our needs.

More Repositories

1

album-splitter

Split single-file MP3 albums into separate tracks. Downloads from YouTube supported.
Python
237
star
2

docker-torch-rnn

Docker images for using torch-rnn
Dockerfile
153
star
3

PlayStoreLinks_Bot

A Reddit Bot that links to Android Apps when requested.
Python
90
star
4

Appunti-Unimib

I miei appunti per il corso di Laurea in Informatica all'UniversitΓ  di Milano Bicocca
Jupyter Notebook
22
star
5

vue-keycloak

Use Keycloak Javascript Adapter in Vue.js
JavaScript
13
star
6

hmm-spellcheck

A spellchecker and corrector based on Hidden Markov Models
Python
12
star
7

Flask-Blog-Blueprint

A Flask extension/blueprint that adds a blog to your Flask webapp
Python
10
star
8

Titles-Youtube-Mp3

Search and download a list of videos from Youtube and convert them to mp3.
Python
10
star
9

kslf

Just a test
Shell
5
star
10

DotaCustomFilesJoiner

A tool for Dota2 Custom Files that makes your programming experience a little bit better.
Java
4
star
11

dotfiles

My dotfiles for an Arch Linux machine
Python
3
star
12

PHPNote

PHP service to write,save and share text notes.
PHP
3
star
13

dct-jpeg

Direct Cosine Transform function and JPEG-like image compression
Jupyter Notebook
3
star
14

Markov-Chain-Random-Text-Generator

A Random Text Generator based on the Markov Chain Algorithm
Python
3
star
15

redditClient

A reddit client written in python just for fun
2
star
16

TicToc.js

Simple JavaScript module to schedule events via a timer, with the ability to start and stop the timer.
JavaScript
2
star
17

Dota2TreasureSimulator

Python
2
star
18

crisbal.github.io

Personal Website and Blog
Vue
1
star
19

OnlineTicTacToe

Play TicTacToe Online in your browser, from every device. Made with NodeJs/Socket.io and HTML5/CSS3/JS
JavaScript
1
star
20

Twitter2Telegram_Bot

Send Tweets and get Twitter updates from Telegram.
JavaScript
1
star