|
Title: Issues making themes Post by: chrwei on June 10, 2020, 02:18:18 PM Trying to customize colors without breaking npm use, I copied rc-easyui/dist/themes/material to scr/css and changed my index.css
Code: /*@import '~rc-easyui/dist/themes/material/easyui.css';*/ this works when I run it (react-scripts start) but when I build and deploy most UI elements are not visible, but if I inspect that page I see they are there. switching back to @import '~rc-easyui/dist/themes/material/easyui.css'; and build again restores everything. I haven't even edited any files yet, this is just copying the folder. what am I missing? Title: Re: Issues making themes Post by: jarry on June 11, 2020, 07:44:09 PM You should add this configuration to the 'package.json'.
Code: "homepage": ".", |