Repository navigation
Header version, copyable templates, twelve new templates - #22
Merged
Merged
Conversation
Next to the logo, linking to that release on npm. It is read from package.json, so it follows every bump.
Templates take their preview options as props, so a pasted file used to
render its defaults whatever was picked above the preview. The code view
and the copy button now resolve the source first: markup that depends
only on options is evaluated in place, an {#if} on an option keeps one
branch, unused imports are dropped and the $props() line goes away. An
option the script still reads becomes a plain const.
Application: orders, app shell, notifications. Marketing: features, testimonials, newsletter, footer, changelog. Forms: onboarding, feedback, file upload.
The gallery thumbnail renders the template on /templates, where the #overview style anchors had no target and prerendering failed.
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.
v1.7.1next to the logo, linking to that release on npm. Read frompackage.json.variant={pattern}becomesvariant="lines", an{#if}on an option keeps one branch, unused imports are dropped and the$props()line goes away. An option the script still reads becomes a plainconst. When options differ from the defaults, the code view says so and offers a reset.Checked:
bun run checkandbun run lintare clean. Every template, with default and with changed options, resolves to a file that compiles and has no$props()left.