Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albertchan/vue-ssr-boilerplate
Vue + vue-router + vuex boilerplate with server-side rendering
https://github.com/albertchan/vue-ssr-boilerplate
Last synced: 3 months ago
JSON representation
Vue + vue-router + vuex boilerplate with server-side rendering
- Host: GitHub
- URL: https://github.com/albertchan/vue-ssr-boilerplate
- Owner: albertchan
- Created: 2016-11-23T02:01:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-03T15:02:40.000Z (about 8 years ago)
- Last Synced: 2024-08-02T09:25:49.573Z (6 months ago)
- Language: JavaScript
- Size: 57.6 KB
- Stars: 63
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - vue-ssr-boilerplate - ssr-boilerplate?style=social) - 精简版的ofvue-hackernews-2 (Demo示例)
- awesome-github-vue - vue-ssr-boilerplate - 精简版的ofvue-hackernews-2 (Demo示例)
- awesome-github-vue - vue-ssr-boilerplate - 精简版的ofvue-hackernews-2 (Demo示例)
- awesome - vue-ssr-boilerplate - 精简版的ofvue-hackernews-2 (Demo示例)
README
# vue-ssr-boilerplate
A stripped down version of [vue-hackernews-2](https://github.com/vuejs/vue-hackernews-2.0)
for use as a boilerplate.## Features
- Server Side Rendering
- Vue + vue-router + vuex working together
- Server-side data pre-fetching
- Client-side state & DOM hydration
- Single-file Vue Components
- Hot-reload in development
- CSS extraction for production
- [bootstrap-sass](https://github.com/twbs/bootstrap-sass)
- [ESLint](http://eslint.org/) with Airbnb's base JS
- [i18next](http://i18next.com/) internationalization## Architecture Overview
## Build Setup
**Requires Node.js 6+**
``` bash
# install dependencies
npm install# serve in dev mode, with hot reload at localhost:8080
npm run dev# build for production
npm run build# serve in production mode
npm start
```