Commit 3f1fe39
committed
Update package.json
# https://stackoverflow.com/questions/68581567/sh-1-nuxt-not-found-heroku-nuxt
May need to go further for production if nuxt can't be found:
"scripts": {
"dev": "node_modules/nuxt/bin/nuxt.mjs dev",
"build": "node_modules/nuxt/bin/nuxt.mjs build -c ./nuxt.config.js",
"start": "node_modules/nuxt/bin/nuxt.mjs start -c ./nuxt.config.js",
"generate": "nuxt generate",
"heroku-postbuild": "npm run build"
},1 parent e067b9e commit 3f1fe39
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments