How to integrate into existing project--relative paths etc
See original GitHub issueI’m testing out this version before hopefully buying the paid one. I can’t see a quick easy way to integrate it into an existing project though. For maintainability, portability, updates, etc, I don’t want to mix your components with mine and I need to be able to put your src
folder anywhere in my tree. It seems like every instance of something like:
import buttonStyle from "assets/jss/material-dashboard-react/components/buttonStyle.jsx";
breaks webpack because the paths aren’t relative.
How are people integrating this with an existing project? Am I missing something? I don’t want to structure my app like yours, I don’t want your router, etc. I just want the components and layouts.
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to specify relative paths in .vsprops file - Stack Overflow
You can use MSBuildThisFileDirectory macro. For example: You set Include Directories to "$(MSBuildThisFileDirectory)\include;$(IncludePath)" ...
Read more >2.8.1.1. Use Relative Paths - Intel
Use Relative Paths. Express file paths using relative path notation (../). For example, in the directory structure shown you can specify top.v as...
Read more >How to compute relative path in project's settings automatically
Answer. Enable the option Use Relative Project's Path computing in the settings file selectors through the menu Edit > Preferences > Project.
Read more >Adding file uses absolute path - MSDN - Microsoft
When i try to add a source code file to a project, it embeds the absolute path, instead of relative path. I have...
Read more >Opinions on EG best practices - code location and relative paths
My conclusion: If you have EG available in all your environments, keeping the code inside the program is the way to go as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ideally, do you have this as an npm package so one could just import all the components and make MUI a peer dep?
Hello @nolandg ,
Since the pro version, is paid / with money we do not keep it on npm. As of moment we are testing on how we can add our paid products on npm. You cannot use our paid version and put it on npm (since it is paid / it is not open source).
Best, Manu