Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weipxiu/vue-ssr
The asyncData hook is called by the service data of all Vue before ready, and after the data is obtained to update the vuex, when we render the Vue component, the component gets all the store data of all the vuex and splits into a HTML string.
https://github.com/weipxiu/vue-ssr
Last synced: 8 days ago
JSON representation
The asyncData hook is called by the service data of all Vue before ready, and after the data is obtained to update the vuex, when we render the Vue component, the component gets all the store data of all the vuex and splits into a HTML string.
- Host: GitHub
- URL: https://github.com/weipxiu/vue-ssr
- Owner: weipxiu
- Created: 2018-05-01T03:10:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T09:05:10.000Z (almost 6 years ago)
- Last Synced: 2024-04-14T12:30:55.271Z (9 months ago)
- Language: Vue
- Homepage:
- Size: 121 KB
- Stars: 25
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuxt-demo
> 测试下
## Build Setup
``` bash
# install dependencies
$ npm install # Or yarn install# serve with hot reload at localhost:3000
$ npm run dev# build for production and launch server
$ npm start
```For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js).
## Backpack
We use [backpack](https://github.com/palmerhq/backpack) to watch and build the application, so you can use the latest ES6 features (module syntax, async/await, etc.).