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

Update Nuxt to v2.2.x #17

Merged
merged 5 commits into from
Jan 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ This is a starter template to build static websites with Vue.js and Netlify CMS,
- [Manual deployment via FTP](#manual-deployment-via-ftp)
- [Deploy to Netlify](#deploy-to-netlify)
- [Deploy with other CI solutions](#deploy-with-other-ci-solutions)
- [Known issues](#known-issues)
- [Contribution](#contribution)

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

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.

## Known issues

* **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.

## Contribution

If you're interested in contributing to the project, see [CONTRIBUTING.md][contributing]
Expand Down
4 changes: 2 additions & 2 deletions template/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ module.exports = {
/*
** Run ESLint on save
*/
extend(config, { isDev, isClient }) {
if (isDev && isClient) {
extend(config, { isDev }) {
if (isDev && process.client) {
config.module.rules.push({
enforce: "pre",
test: /\.(js|vue)$/,
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@nuxtjs/axios": "^5.3.1",
"nuxt": "^1.0.0",
"nuxt": "~2.2.0",
"nuxtdown": "^2.0.3"
},
"devDependencies": {
Expand Down