Giter Site home page Giter Site logo

peanutsando / vue-webpack-ssr-fully-featured Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crisbal/vue-webpack-ssr-fully-featured

0.0 2.0 0.0 362 KB

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

JavaScript 80.93% Vue 17.41% HTML 1.24% CSS 0.42%

vue-webpack-ssr-fully-featured's Introduction

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.

vue-webpack-ssr-fully-featured's People

Contributors

crisbal avatar editedredx avatar sgametrio avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.