Skip to content

Add Material-UI example #1771

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

Merged
merged 2 commits into from
Apr 22, 2017
Merged

Add Material-UI example #1771

merged 2 commits into from
Apr 22, 2017

Conversation

palafoxernesto
Copy link
Contributor

This example features how you use Material-UI with Next.js.

Copy link
Member

@timneutkens timneutkens left a comment

Choose a reason for hiding this comment

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

Neat!

@timneutkens timneutkens merged commit ce0a2f7 into vercel:master Apr 22, 2017
@davidascher
Copy link
Contributor

@palafoxernesto have you explored how to put all of the muiTheme stuff in _document.js? I'm running into some weird issues, curious if you'd explored it.

@davidascher
Copy link
Contributor

Never mind, saw: #873 which has some details on the topic.

@billd100
Copy link

billd100 commented Apr 26, 2017

@palafoxernesto have you been able to effectively add the "className" property to any material-ui components with styled-jsx? In your example I wrapped <MuiThemeProvider> in a <div>, added <style jsx> and a className to the <RaisedButton>. In the browser the className appears on the element but the associated style is absent. Gist for changes to index.js to show this.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy