mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
examples: Upgrade to nuxt-edge (#3911)
This commit is contained in:
parent
d1f6f0dc09
commit
65432e6aa2
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"cookieparser": "^0.1.0",
|
||||
"js-cookie": "^2.2.0",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-layouts",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-loading",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-page-loading",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-custom-port-host",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-custom-routes",
|
||||
"dependencies": {
|
||||
"axios": "latest",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-custom-server",
|
||||
"dependencies": {
|
||||
"express": "^4.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "node server.js",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-dynamic-components",
|
||||
"dependencies": {
|
||||
"chart.js": "^2.7.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue-chartjs": "^2.8.7"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-dynamic-layouts",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-global-css",
|
||||
"dependencies": {
|
||||
"bulma": "^0.5.1",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-hello-world",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-i18n",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue-i18n": "^7.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-jsx",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-layout-transitions",
|
||||
"dependencies": {
|
||||
"axios": "^0.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@nuxtjs/markdownit": "^1.1.2",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"pug": "^2.0.0-rc.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-meta-info",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-middleware",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-nested-components",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-nested-routes",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-no-ssr",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"axios": "^0.16.2",
|
||||
"mini-toastr": "^0.6.5",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue-notifications": "^0.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "examples-routes-meta",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"wingcss": "^1.0.0-beta"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-routes-transitions",
|
||||
"dependencies": {
|
||||
"axios": "^0.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-scroll-behavior",
|
||||
"dependencies": {
|
||||
"axios": "^0.15.3",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue-router": "https://github.com/homerjam/vue-router#dist"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-spa",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-static-images",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"less": "^2.7.3",
|
||||
"less-loader": "^4.0.5",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"start": "nuxt start"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^7.1.6",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"axios": "^0.17.1",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"nuxt-class-component": "^1.1.3",
|
||||
"tachyons": "^4.9.1",
|
||||
"vue-property-decorator": "^6.0.0",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-uikit",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"uikit": "^3.0.0-beta.30",
|
||||
"jquery": "^3.2.1"
|
||||
},
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-vue-apollo",
|
||||
"dependencies": {
|
||||
"@nuxtjs/apollo": "^2.1.1",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"axios": "^0.16.2",
|
||||
"chart.js": "^2.7.1",
|
||||
"moment": "^2.18.1",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue-chartjs": "^3.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-persisted-state",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vuex-persistedstate": "^2.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-vuex-store-modules",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-vuex-store",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -11,6 +11,6 @@
|
||||
"jsdom": "^11.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"buefy": "^0.5.4",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue": "~2.4.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"dependencies": {
|
||||
"cookie": "^0.3.1",
|
||||
"js-cookie": "^2.1.4",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"element-ui": "^2",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -32,7 +32,7 @@
|
||||
"feathers-rest": "^1.6.0",
|
||||
"feathers-socketio": "^1.4.2",
|
||||
"nedb": "^1.8.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"passport": "^0.3.2",
|
||||
"winston": "^2.3.0"
|
||||
},
|
||||
|
@ -15,6 +15,6 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^0.15.3",
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-with-keep-alive",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-with-museui",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"muse-ui": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -7,7 +7,7 @@
|
||||
"start": "nuxt start"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^7.1.6",
|
||||
|
@ -7,7 +7,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.14.0",
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"socket.io": "^1.7.2",
|
||||
"socket.io-client": "^1.7.2"
|
||||
},
|
||||
|
@ -16,6 +16,6 @@
|
||||
"vue-test-utils": "^1.0.0-beta.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-with-vue-material",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vue": "~2.4.4",
|
||||
"vue-material": "beta"
|
||||
},
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vux": "^2.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user