diff --git a/examples/auth-routes/package.json b/examples/auth-routes/package.json index b286e52738..87677b2922 100644 --- a/examples/auth-routes/package.json +++ b/examples/auth-routes/package.json @@ -3,6 +3,7 @@ "description": "", "dependencies": { "body-parser": "^1.15.2", + "cross-env": "^3.1.3", "express": "^4.14.0", "express-session": "^1.14.2", "nuxt": "latest", @@ -11,6 +12,6 @@ "scripts": { "dev": "node server.js", "build": "nuxt build", - "start": "NODE_ENV=production node server.js" + "start": "cross-env NODE_ENV=production & node server.js" } } diff --git a/lib/app/components/nuxt.vue b/lib/app/components/nuxt.vue index 516097a693..a95b9d40d9 100644 --- a/lib/app/components/nuxt.vue +++ b/lib/app/components/nuxt.vue @@ -47,7 +47,7 @@ export default { }, <% } %> components: { - NuxtError<%= (loading ? ',\n\t\tNuxtLoading' : '') %> + NuxtError<%= (loading ? ',\n NuxtLoading' : '') %> } }