Skip to content

Conversation

@alexwarren
Copy link
Contributor

No description provided.

claude and others added 3 commits January 11, 2026 22:27
Created a new documentation page showcasing the coffeeshop and gameshow
examples using Vite's raw import feature. This allows the examples to be
displayed in the Sample component without code duplication or HTML escaping.

- Created site/src/examples.ts as a central import file for example scripts
- Created site/src/content/docs/examples.mdx with both examples
- Uses Vite's ?raw suffix to import .squiffy files as strings
- Set to display with alwaysShowRestart for better UX with longer examples
@alexwarren alexwarren merged commit 831a567 into textadventures:main Jan 12, 2026
5 checks passed
@alexwarren alexwarren deleted the claude/sample-component-examples-tTo4M branch January 12, 2026 19:42
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