Skip to content

Commit

Permalink
Update docs with changes from Remix v2 / Vite / Wrangler 3 migration (#…
Browse files Browse the repository at this point in the history
…69)

* Remove build.minify: true, add v3_lazyRouteDiscovery

• build: { minify: true } causes variable names to be mangled in the SSR build of the app, which means that Models will have the wrong name and will wind up pointing at non-existent (or wrong) D1 tables
• v3_lazyRouteDiscovery is a new default behavior for remix that doesn’t require any other changes to enable

* 📝 Update remix v1 link, add --remote, grammar

you need to pass the --remote flag to the newest version of wrangler’s migrations apply command in order to get it to run on the production instance of the D1 DB

* 📝 Document vite.config, update worker example

* 📝 Update defunct sessions doc instructions

* 📝 Add handleScheduled to Getting Started doc

* 📝 Mention Vite config gotcha in models doc

* 📝 Update authentication doc for @superflare/remix

* 📝 Update CLI docs with changes to commands

* Replace local docsearch.css → @docsearch/css

also, upgrade from v3.6.1 → v3.8.0 (latest)
  • Loading branch information
acusti authored Dec 17, 2024
1 parent f12cb09 commit c47b4f5
Show file tree
Hide file tree
Showing 14 changed files with 247 additions and 717 deletions.
1 change: 1 addition & 0 deletions apps/site/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
ScrollRestoration,
useLoaderData,
} from "@remix-run/react";
import "@docsearch/css";
import "focus-visible";
import "./styles/tailwind.css";

Expand Down
Loading

0 comments on commit c47b4f5

Please sign in to comment.