Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore(docs): add code format using markdownlint (#1498) #1556

Merged
merged 7 commits into from
Oct 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into chore/docs-linting
  • Loading branch information
huynl-96 committed Oct 29, 2021
commit 7dd623b9b6f1de618de75344414b5dd10a3f9add
19 changes: 18 additions & 1 deletion docs/content/1.getting-started/3.bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,24 @@ npm install -D @nuxt/bridge@npm:@nuxt/bridge-edge

You will also need to update your scripts within your `package.json` to reflect the fact that Nuxt will now produce a Nitro server as build output.

### Static target
#### Nuxi

Nuxt 3 introduced the new Nuxt CLI command [`nuxi`](/getting-started/commands/). Update your scripts as follows to leverage the better support from Nuxt Bridge:

```diff
{
"scripts": {
- "dev": "nuxt",
+ "dev": "nuxi dev",
- "build": "nuxt build",
+ "build": "nuxi build",
- "start": "nuxt start",
+ "start": "node .output/server/index.mjs"
}
}
```

#### Static target

If you have set `target: 'static'` in your `nuxt.config` then you need to ensure that you update your build script to be `nuxi generate`.

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.