mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
chore(examples): use 2.x
version of nuxt instead of latest (#19737)
This commit is contained in:
parent
59b8085515
commit
9e966a8f3c
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-async-components-injection",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-async-data",
|
||||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"cookieparser": "^0.1.0",
|
||||
"js-cookie": "^2.2.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -5,7 +5,7 @@
|
||||
"body-parser": "^1.17.2",
|
||||
"express": "^4.15.3",
|
||||
"express-session": "^1.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.0.0",
|
||||
"@nuxtjs/proxy": "^1.1.2",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-cached-components",
|
||||
"dependencies": {
|
||||
"lru-cache": "^4.0.2",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -11,7 +11,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffee-loader": "^0.8.0",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-custom-build",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-layouts",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-loading",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-page-loading",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-port-host",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-custom-routes",
|
||||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-custom-server",
|
||||
"dependencies": {
|
||||
"express": "^4.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "node server.js",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-template",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -10,6 +10,6 @@
|
||||
"nuxt-start": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-dynamic-components",
|
||||
"dependencies": {
|
||||
"chart.js": "^2.7.3",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-chartjs": "^3.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-dynamic-layouts",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-global-css",
|
||||
"dependencies": {
|
||||
"bulma": "^0.5.1",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-hello-world",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-i18n",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-i18n": "^7.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-jest-puppeteer",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -9,7 +9,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.4",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-jsx",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-layout-transitions",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@nuxtjs/markdownit": "^1.1.2",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"pug": "^2.0.0-rc.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-meta-info",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-middleware",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-minimal-features",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "my-app",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-nested-components",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-nested-routes",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -6,7 +6,7 @@
|
||||
"vue-content-placeholders": "^0.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-no-ssr",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-nuxt-prefetch",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"mini-toastr": "^0.6.5",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-notifications": "^0.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-programmatic",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "node scripts/dev",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffee-loader": "^0.8.0",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-pug",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"pug": "^2.0.3",
|
||||
"pug-plain-loader": "^1.0.0"
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "examples-routes-meta",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"wingcss": "^1.0.0-beta"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-routes-transitions",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-scroll-behavior",
|
||||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.3.6",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-router": "https://github.com/homerjam/vue-router#dist"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-spa",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-static-images",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"chart.js": "^2.7.1",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-chartjs": "^3.1.1",
|
||||
"vuetify": "1.2.6"
|
||||
},
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"less": "^2.7.3",
|
||||
"less-loader": "^4.0.5",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-styled-vue",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^7.1.6",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-uikit",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"uikit": "^3.0.0-beta.30",
|
||||
"jquery": "^3.2.1"
|
||||
},
|
||||
|
@ -4,7 +4,7 @@
|
||||
"@nuxtjs/apollo": "^4.0.0-rc.4",
|
||||
"core-js": "^2.6.5",
|
||||
"node-fetch": "^2.3.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"@nuxt/http": "^0.4.0",
|
||||
"chart.js": "^2.9.3",
|
||||
"moment": "^2.24.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue-chartjs": "^3.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-vue-class-component",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"nuxt-class-component": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-persisted-state",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vuex-persistedstate": "^2.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-vuex-store",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-eslint": "^8.2.6",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-with-amp",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -12,6 +12,6 @@
|
||||
"jsdom": "^11.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"nuxt-buefy": "latest"
|
||||
}
|
||||
}
|
||||
|
@ -3,12 +3,12 @@
|
||||
"dependencies": {
|
||||
"cookie": "^0.3.1",
|
||||
"js-cookie": "^2.1.4",
|
||||
"nuxt": "latest",
|
||||
"post-update": "yarn upgrade --latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"build": "nuxt build",
|
||||
"start": "nuxt start"
|
||||
"start": "nuxt start",
|
||||
"post-update": "yarn upgrade --latest"
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"element-ui": "^2.6.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"feathers-rest": "^1.6.0",
|
||||
"feathers-socketio": "^1.4.2",
|
||||
"nedb": "^1.8.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"passport": "^0.3.2",
|
||||
"winston": "^2.3.0"
|
||||
},
|
||||
|
@ -16,6 +16,6 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-with-keep-alive",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "example-with-museui",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"muse-ui": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"build": "nuxt build",
|
||||
"start": "nuxt start",
|
||||
"post-update": "yarn upgrade --latest"
|
||||
"post-update": "yarn upgrade --latest"
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"glob-all": "^3.1.0",
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.14.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"socket.io": "^1.7.2",
|
||||
"socket.io-client": "^1.7.2"
|
||||
},
|
||||
|
@ -5,10 +5,10 @@
|
||||
"build": "nuxt build",
|
||||
"start": "nuxt start",
|
||||
"test": "tape ./test/**/*.js -r ./test/setup.js | tap-spec",
|
||||
"post-update": "yarn upgrade --latest"
|
||||
"post-update": "yarn upgrade --latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/test-utils": "^1.0.0",
|
||||
"@vue/test-utils": "^1.0.0",
|
||||
"browser-env": "^3.2.1",
|
||||
"require-extension-hooks": "^0.3.2",
|
||||
"require-extension-hooks-babel": "^0.1.1",
|
||||
@ -17,6 +17,6 @@
|
||||
"tape": "^4.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-with-vue-material",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vue": "~2.4.4",
|
||||
"vue-material": "beta"
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-with-vuetify",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt": "2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"@vuikit/icons": "latest",
|
||||
"@vuikit/theme": "latest",
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vuikit": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt": "2.x",
|
||||
"vux": "^2.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user