Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit ca752c5

Browse files
authored
chore(npm): update Nuxt to v2.2.x
#17
1 parent 6edbf2b commit ca752c5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: README.md

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This is a starter template to build static websites with Vue.js and Netlify CMS,
3535
- [Manual deployment via FTP](#manual-deployment-via-ftp)
3636
- [Deploy to Netlify](#deploy-to-netlify)
3737
- [Deploy with other CI solutions](#deploy-with-other-ci-solutions)
38+
- [Known issues](#known-issues)
3839
- [Contribution](#contribution)
3940

4041
<!-- /TOC -->
@@ -113,6 +114,10 @@ The folder of your generated project will contain a `netlify-example.toml` file
113114

114115
If you use other CI solutions, you always have to make sure, that the environment variable `BASE_URL` is set to the URL where the website will run. Tools like GitLab allow you to set *environment variables* in the settings of the project and make it easy to use what ever way you want to deploy your project.
115116

117+
## Known issues
118+
119+
* **Doesn't work with Nuxt v2.3.0 and higher**: There are some changes in Nuxt v2.3.0 that are not compatible with Nuxtdown/Nuxtent. That's why the version is currently fixed at v2.2.x.
120+
116121
## Contribution
117122

118123
If you're interested in contributing to the project, see [CONTRIBUTING.md][contributing]

Diff for: template/nuxt.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ module.exports = {
3333
/*
3434
** Run ESLint on save
3535
*/
36-
extend(config, { isDev, isClient }) {
37-
if (isDev && isClient) {
36+
extend(config, { isDev }) {
37+
if (isDev && process.client) {
3838
config.module.rules.push({
3939
enforce: "pre",
4040
test: /\.(js|vue)$/,

Diff for: template/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@nuxtjs/axios": "^5.3.1",
19-
"nuxt": "^1.0.0",
19+
"nuxt": "~2.2.0",
2020
"nuxtdown": "^2.0.3"
2121
},
2222
"devDependencies": {

0 commit comments

Comments
 (0)