https://github.com/gijsroge/react-router-relative-link-issue
https://github.com/gijsroge/react-router-relative-link-issue
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gijsroge/react-router-relative-link-issue
- Owner: gijsroge
- Created: 2023-11-17T20:01:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T20:12:39.000Z (over 1 year ago)
- Last Synced: 2025-06-22T06:07:02.924Z (13 days ago)
- Language: TypeScript
- Size: 212 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# templates/unstable-vite-express
⚠️ Remix support for Vite is unstable and not recommended for production.
📖 See the [Remix Vite docs][remix-vite-docs] for details on supported features.
## Setup
```shellscript
npx create-remix@latest --template remix-run/remix/templates/unstable-vite-express
```## Run
Spin up the Express server as a dev server:
```shellscript
npm run dev
```Or build your app for production and run it:
```shellscript
npm run build
npm run start
```## Customize
Remix exposes APIs for integrating Vite with a custom server:
```ts
import {
unstable_createViteServer,
unstable_loadViteServerBuild,
} from "@remix-run/dev";
```In this template, we'll use Express but remember that these APIs can be used with _any_ Node-compatible server setup that supports standard middleware.
[remix-vite-docs]: https://remix.run/docs/en/main/future/vite