Skip to content

Feature/complete create htmplar - #75

Merged
berkandirim merged 5 commits into
adidas:masterfrom
berkandirim:feature/complete-create-htmplar
Sep 16, 2026
Merged

berkandirim merged 5 commits into
adidas:masterfrom
berkandirim:feature/complete-create-htmplar

Conversation

@berkandirim

Copy link
Copy Markdown
Member

No description provided.

berkandirim and others added 3 commits September 16, 2026 15:33
- Create index.html automatically for dev server entry point
- Create src/main.tsx with preview UI for email templates
- Fix Button example to use fullWidth prop for proper table width
- Improves out-of-box experience - dev server now works immediately

Fixes issue where `npm run dev` showed 404 error.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Dev Server Features:
- Auto-discovers all .tsx/.jsx files in src/ (except main.tsx)
- Creates dynamic route for each template (e.g., /welcome, /newsletter)
- Index page (/) lists all available templates as clickable links
- Each route shows full-screen email preview
- Hot reload works on all routes

Scaffolder Changes:
- Remove manual main.tsx creation (no longer needed)
- Update README to explain auto-discovery
- Button example uses fullWidth prop

User Experience:
- Just create a .tsx file → automatically gets a route
- Clean URLs for each email template
- Better for testing, QA, and client review
- Can open multiple emails in separate tabs

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Disables anonymous telemetry to respect user privacy and
prevent network requests to Vercel during development.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@berkandirim
berkandirim force-pushed the feature/complete-create-htmplar branch from cd05469 to 7cc9260 Compare September 16, 2026 13:34
berkandirim and others added 2 commits September 16, 2026 15:36
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@berkandirim
berkandirim merged commit 948ca7a into adidas:master Sep 16, 2026
4 checks passed
@berkandirim
berkandirim deleted the feature/complete-create-htmplar branch September 16, 2026 13:40
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.

1 participant