-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: kitchen sink 2.0 #203
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
commit: |
|
||
import './styles.css'; | ||
|
||
|
||
Store.isInIframe.value = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
react-scan doesn't work inside iframes, this enables it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copied this from my forgetti example: https://github.com/lxsmnsyc/forgetti/tree/main/examples/react/src
const examples: Example[] = [ | ||
{ title: 'Sierpinski Triangle', url: '/?example=sierpinski' }, | ||
{ title: 'Todo List', url: '/?example=todo-list' }, | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little bit manual. When you add a new app in the examples/
, this needs to be reflected.
?example
query needs to match the folder name
@@ -4,7 +4,6 @@ | |||
"scripts": { | |||
"build": "WORKSPACE_BUILD=true node scripts/workspace.mjs build", | |||
"postbuild": "node scripts/version-warning.mjs", | |||
"postinstall": "pnpm build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit annoying.
fyi: pnpm no longer runs this by default, https://github.com/pnpm/pnpm/releases/tag/v10.0.0
kitchen-sink/src/examples
examples
andkitchen-sink