I am working on several Angular projects which has same node_folder (with same node dependencies), so i made a symlink to new second angular project, it compiles successfully, but CSS is not working.
later i removed the symlink and modified the angular.json with "../node_modules/.." pointing to node_modules folder which is on same level as project folder
etc
still the project gets compiled, yet CSS is not working - is it possible to fix this and get CSS working with this way?
Adding NODE_PATH pointing to node_modules folder and modifying the angular.json accordingly solved the problem
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.