docs(nuxt): add note about setting mode to universal

This commit is contained in:
Josh Deltener 2020-02-01 22:46:46 -06:00 committed by GitHub
parent 46f7763ccd
commit 4046345727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,8 @@ Once you've reached this point, you should be able to access the CMS in your bro
## Integrating content in Nuxt with Vuex
**Note:** In order to use `nuxtServerInit` your mode must be `universal` in your `nuxt.config.js`.
Next, you'll set up the integrated Vuex store to collect blog posts. Create a file `index.js` in the `store/` directory, and add **state**, **mutations**, and **actions** for your blog posts:
```js