Skip to content

Commit

Permalink
fix: update ssr example
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorTour committed Sep 3, 2021
1 parent b220fbc commit cd2ee97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
},

// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
ssr: false,
ssr: true,

// Target: https://go.nuxtjs.dev/config-target
target: 'static',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"debugDev": " node --inspect-brk ./node_modules/nuxt/bin/nuxt.js --runInBand",
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
Expand All @@ -13,6 +14,6 @@
"nuxt": "^2.15.7"
},
"devDependencies": {
"vue-template-babel-compiler": "^1.0.0"
"vue-template-babel-compiler": "^1.0.3"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7556,10 +7556,10 @@ vue-style-loader@^4.1.0, vue-style-loader@^4.1.3:
hash-sum "^1.0.2"
loader-utils "^1.0.2"

vue-template-babel-compiler@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/vue-template-babel-compiler/-/vue-template-babel-compiler-1.0.0.tgz#44802e712445760714e0f195296cccb05ad690ca"
integrity sha512-7rVpn2aZ2wnd70/W3ctaiTS+HRlWvKuttOPJf4qm3he+0vUIX6XgRy4XRmYSfXnALNXv9sdgkYJqOw3oonsdew==
vue-template-babel-compiler@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/vue-template-babel-compiler/-/vue-template-babel-compiler-1.0.3.tgz#b791e38991b45ff8883a1a72e3b12844bd8ec3a4"
integrity sha512-vuXPVD5nWNyTqLppJ1sYB4me32JQeaa3M6BcRyM0ybSt4CQfY9K5WkJXPK0YtiL3C7TTHtoomn1xoSHGj5us7A==
dependencies:
"@babel/core" "^7.14.3"
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5"
Expand Down

0 comments on commit cd2ee97

Please sign in to comment.