File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2525 run : npm install
2626
2727 - name : Build application
28- run : npm build
28+ run : npm run build
2929
3030 - name : Deploy to NuxtHub
3131 uses : nuxt-hub/action@v1
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ https://hello.nuxt.dev
2020Make sure to install the dependencies with [ pnpm] ( https://pnpm.io/installation#using-corepack ) :
2121
2222``` bash
23- pnpm install
23+ npm install
2424```
2525
2626You can update the main text displayed by creating a ` .env ` :
@@ -34,20 +34,19 @@ NUXT_PUBLIC_HELLO_TEXT="Hello my world!"
3434Start the development server on ` http://localhost:3000 ` :
3535
3636``` bash
37- pnpm dev
37+ npm run dev
3838```
3939
4040## Production
4141
4242Build the application for production:
4343
4444``` bash
45- pnpm build
45+ npm run build
4646```
4747
4848## Deploy
4949
50-
5150Deploy the application on the Edge with [ NuxtHub] ( https://hub.nuxt.com ) on your Cloudflare account:
5251
5352``` bash
@@ -57,4 +56,3 @@ npx nuxthub deploy
5756Then checkout your server logs, analaytics and more in the [ NuxtHub Admin] ( https://admin.hub.nuxt.com ) .
5857
5958You can also deploy using [ Cloudflare Pages CI] ( https://hub.nuxt.com/docs/getting-started/deploy#cloudflare-pages-ci ) .
60-
You can’t perform that action at this time.
0 commit comments