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

How do I inline the style in React Component develement? #318

Closed
ycjcl868 opened this issue Oct 4, 2018 · 4 comments
Closed

How do I inline the style in React Component develement? #318

ycjcl868 opened this issue Oct 4, 2018 · 4 comments

Comments

@ycjcl868
Copy link

ycjcl868 commented Oct 4, 2018

I want to develop a react component, but it has two problems.

  1. how to inline the style in js file?
  2. how to remove the hash in build assets?
@timarney
Copy link
Owner

timarney commented Oct 4, 2018

I would recommend you look at https://github.com/emotion-js/emotion for the CSS.

For the hash see:
#301

@timarney timarney closed this as completed Oct 4, 2018
@ycjcl868
Copy link
Author

ycjcl868 commented Oct 4, 2018

hash problem I understand.
css , I mean, the less styles don't extract css files, I want to build styles in js file, not css in js

@timarney
Copy link
Owner

timarney commented Oct 4, 2018

@ycjcl868
Copy link
Author

ycjcl868 commented Oct 4, 2018

@timarney 😅

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

No branches or pull requests

2 participants