Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 5, 2024
1 parent f77d230 commit 794587a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/future/spa-mode.md
Expand Up @@ -58,15 +58,15 @@ export default defineConfig({
In SPA Mode, you develop the same way you would for a traditional Remix SSR app, and you actually use a running Remix dev server in order to enable HMR/HDR:

```sh
npm run dev
npx remix vite:dev
```

### Production

When you build your app in SPA Mode, Remix will call the server handler for the `/` route and save the rendered HTML in an `index.html` file alongside your client side assets (by default `build/client/index.html`).

```sh
npm run build
npx remix vite:build
```

#### Preview
Expand Down

0 comments on commit 794587a

Please sign in to comment.