Skip to content

Update docs with changes from Remix v2 / Vite / Wrangler 3 migration - #69

Merged
jplhomer merged 9 commits into
jplhomer:mainfrom
acusti:docs
Dec 17, 2024
Merged

Update docs with changes from Remix v2 / Vite / Wrangler 3 migration#69
jplhomer merged 9 commits into
jplhomer:mainfrom
acusti:docs

Conversation

@acusti

@acusti acusti commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

this is branched off of #68 and updates the docs based on the changes from #66.

it also switches (6c4a22b) from using a local copy of the algolia docsearch CSS to using the one provided by the @docsearch/css package, which has a new theme and fixes a style bug in production (a11y “Search” text shows up over the search magnifying glass icon). currently in production:
image

in this branch:
image

• 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
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
also, upgrade from v3.6.1 → v3.8.0 (latest)
@pkg-pr-new

pkg-pr-new Bot commented Nov 18, 2024

Copy link
Copy Markdown

Open in Stackblitz

pnpm add https://pkg.pr.new/jplhomer/superflare@69
pnpm add https://pkg.pr.new/jplhomer/superflare/@superflare/remix@69

commit: 6c4a22b

@jplhomer
jplhomer merged commit c47b4f5 into jplhomer:main Dec 17, 2024
@acusti
acusti deleted the docs branch December 18, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants