Skip to content

Commit cd40030

Browse files
committed
chore: add missing run, update readme
1 parent 396f1ec commit cd40030

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/nuxthub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
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

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://hello.nuxt.dev
2020
Make sure to install the dependencies with [pnpm](https://pnpm.io/installation#using-corepack):
2121

2222
```bash
23-
pnpm install
23+
npm install
2424
```
2525

2626
You can update the main text displayed by creating a `.env`:
@@ -34,20 +34,19 @@ NUXT_PUBLIC_HELLO_TEXT="Hello my world!"
3434
Start the development server on `http://localhost:3000`:
3535

3636
```bash
37-
pnpm dev
37+
npm run dev
3838
```
3939

4040
## Production
4141

4242
Build the application for production:
4343

4444
```bash
45-
pnpm build
45+
npm run build
4646
```
4747

4848
## Deploy
4949

50-
5150
Deploy 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
5756
Then checkout your server logs, analaytics and more in the [NuxtHub Admin](https://admin.hub.nuxt.com).
5857

5958
You can also deploy using [Cloudflare Pages CI](https://hub.nuxt.com/docs/getting-started/deploy#cloudflare-pages-ci).
60-

0 commit comments

Comments
 (0)