Skip to content

Commit

Permalink
Update build and dev scripts to include nuxt prepare in package.json …
Browse files Browse the repository at this point in the history
…for examples
  • Loading branch information
1aron committed Dec 12, 2024
1 parent 01afbee commit 11b391b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
7 changes: 3 additions & 4 deletions examples/nuxt.js-with-runtime-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
"name": "nuxt.js-with-runtime-rendering",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"build": "nuxt prepare && nuxt build",
"dev": "nuxt prepare && nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"preview": "nuxt preview"
},
"dependencies": {
"@master/css-runtime": "workspace:^",
Expand Down
7 changes: 3 additions & 4 deletions examples/nuxt.js-with-static-extraction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"build": "nuxt prepare && nuxt build",
"dev": "nuxt prepare && nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"preview": "nuxt preview"
},
"devDependencies": {
"@master/css-extractor.vite": "workspace:^",
Expand Down
7 changes: 3 additions & 4 deletions examples/nuxt.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
"name": "nuxt.js-with-progressive-rendering",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"build": "nuxt prepare && nuxt build",
"dev": "nuxt prepare && nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"preview": "nuxt preview"
},
"dependencies": {
"@master/css-server": "workspace:^",
Expand Down

0 comments on commit 11b391b

Please sign in to comment.