Skip to content

[examples] [docs] Add Vite example with Firebase auth#4500

Merged
bharatkashyap merged 10 commits intomui:masterfrom
bharatkashyap:examples/vite-starter
Dec 7, 2024
Merged

[examples] [docs] Add Vite example with Firebase auth#4500
bharatkashyap merged 10 commits intomui:masterfrom
bharatkashyap:examples/vite-starter

Conversation

@bharatkashyap
Copy link
Collaborator

@bharatkashyap bharatkashyap commented Dec 3, 2024

@bharatkashyap bharatkashyap added docs Improvements or additions to the documentation. examples Relating to /examples. labels Dec 3, 2024
@Janpot
Copy link
Member

Janpot commented Dec 3, 2024

What's special about the themed example that we need it in more than one runtime? sure it doesn't do anything runtime specific, right?

Also feels to me like a vite+firebase example should stand on its own. Adding other concepts in there would make it a bit confusing I think.

@bharatkashyap
Copy link
Collaborator Author

What's special about the themed example that we need it in more than one runtime? sure it doesn't do anything runtime specific, right?

Also feels to me like a vite+firebase example should stand on its own. Adding other concepts in there would make it a bit confusing I think.

Fair enough, I can remove the theme and custom components from this example and make it focus on the Vite + Firebase integration

@bharatkashyap bharatkashyap changed the title [examples] [docs] Add Vite themed example with Firebase auth [examples] [docs] Add Vite example with Firebase auth Dec 5, 2024
Copy link
Collaborator

@apedroferreira apedroferreira left a comment

Choose a reason for hiding this comment

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

Nice, just some small things!

const lightTheme = createTheme(getMPTheme('light'));
const darkTheme = createTheme(getMPTheme('dark'));

const theme = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't we use a CSS variables theme instead? Also I can't find this getMPTheme, is this outdated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, missed deleting this file (isn't used anywhere anymore)

@apedroferreira
Copy link
Collaborator

Oh i guess the screenshots are outdated also if we're not using that theme after all.

bharatkashyap and others added 2 commits December 6, 2024 19:49
@bharatkashyap bharatkashyap merged commit b9315b6 into mui:master Dec 7, 2024
apedroferreira added a commit that referenced this pull request Dec 9, 2024
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Pedro Ferreira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. examples Relating to /examples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Add a Vite + functional auth example

3 participants