feat(docs): add code comparison page with create a route example - #450
Open
dreyfus92 wants to merge 1 commit into
Open
feat(docs): add code comparison page with create a route example#450dreyfus92 wants to merge 1 commit into
dreyfus92 wants to merge 1 commit into
Conversation
43081j
approved these changes
Sep 6, 2026
43081j
left a comment
Contributor
There was a problem hiding this comment.
seems good to me!
i don't know enough without digging deeper to review the individual code snippets, but the overall change seems good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds a code comparison page with the first example, create a route, for the 8 starters. one markdown file per framework under
content/code-comparison/<example>/<framework>.md, every fenced block is the full file at itstitle=path so you can drop them into a fresh starter and it just works.tabs use the framework logos instead of names. the logo map moved to
lib/framework-logos.tsand the home cards use it too, so the light-mode css hacks are gone.things I hit while toying with this:
TabItemonly takes a text label, so the tab strip is a tiny custom element.astro check, so a typo won't slip through ci. a missing one just shows a placeholder tab.pages/, so its snippet swapsapp.vuefor<NuxtPage />.every snippet was verified by writing it into a fresh starter, running
pnpm devand hitting/aboutand/posts/1.the rest of the examples from the issue can be their own issues 😄
related: #111