Skip to content
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

[core] Restore development playground #701

Merged
merged 7 commits into from
Oct 14, 2024
Merged

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Oct 3, 2024

This restores the development playground we used to have with the pages router. Unfortunately, the app router requires a bit more setup, but the experience should now be the same—every component with a default export placed in the /docs/app/playground directory will be exposed under the /playground/[filename] path.

Git ignores the contents of the directory.

Also fixed the Google Analytics script that was failing on the not-found page.

@michaldudak michaldudak added the core Infrastructure work going on behind the scenes label Oct 3, 2024
@mui-bot
Copy link

mui-bot commented Oct 3, 2024

Netlify deploy preview

https://deploy-preview-701--base-ui.netlify.app/

Generated by 🚫 dangerJS against a921033

Copy link
Member

@mj12albert mj12albert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 just tried this and it works ~

Side note: maybe we could make GA fail silently if it doesn't load 😬
Screenshot 2024-10-14 at 3 14 21 PM

@michaldudak michaldudak merged commit 006f8fd into mui:master Oct 14, 2024
18 checks passed
@michaldudak michaldudak deleted the playground branch October 14, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants