You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,36 @@ COMMANDS
36
36
Use nuxthub <command> --help for more information about a command.
37
37
```
38
38
39
+
## Deployment
40
+
41
+
To deploy your project to NuxtHub, you can use the `nuxthub deploy` command. This will build your project and deploy it to your Cloudflare account with zero-configuration.
42
+
43
+
```bash
44
+
# Deploy to production or preview based on your current branch
45
+
nuxthub deploy
46
+
47
+
# Deploy to production
48
+
nuxthub deploy --production
49
+
50
+
# Deploy to preview
51
+
nuxthub deploy --preview
52
+
```
53
+
54
+
## Open in Browser
55
+
56
+
To open your project in the browser, you can use the `nuxthub open` command. This will open the URL of your project in the default browser.
57
+
58
+
```bash
59
+
# Open the production or preview deployment based on your current branch
0 commit comments