-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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 to use this material-ui #276
Comments
There's nothing preventing you from using it with Java, but the tools require Node and NPM. You'll also need to use
I hated Browserify at first. But the community's peer pressure is pretty strong... I still don't like it but a lot of libs require it these days. You can use a build tool like |
1, npm install material-ui |
Do you want to use the React components as well or just the styles? MaterialUI uses LESS so here are the steps just for using the styles:
If you want to use the React components you'll also need |
Sure, the less is the easiest. But how does one compile all of the React components using Browserify?! I compile them within the lib directory using the index.js file but it only creates a require function. When I add the bundled script, it doesn't find the module. It is a bit ridiculous how there are no instructions whatsoever on bundling the React components without Node. Ridiculous. |
Sorry you guys are having trouble. Unfortunately, we're using node for all of our dependency management. Maybe the solution is to provide a CDN build? Please see #262 |
I won't NODEJS , How can I put him in my JAVA project ?
My environment is NGINX + TOMCAT ,
Repeatedly tested 1 day, Still don't succeed,
For example jquery-ui , bootstrap .... Only need to download -> import complete -> use
material-ui : download nodejs -> npm -> compile......x.xx.x.x.xx.x.x.x.xx.x.x..x
readme.md Not enough detailed , after npm install ? How to import to my project?
1, npm install material-ui
2, ?
Can you tell me the detailed steps?
Only need to command !
THANKS,
The text was updated successfully, but these errors were encountered: