Open kvcdev opened 3 years ago
Hello, everyone. I've try to customize semantic-ui in react with craco by follow this instuction.
and I try to yarn start but I face this error
Error: Can't resolve './themes/themes/default/assets/fonts/icons.eot'
This is the bottom of my theme.config
/ Folders /
/ Path to theme packages / @themesFolder : 'themes';
/ Path to site override folder / @siteFolder : '../../src/semantic-ui/site';
@import (multiple) "~semantic-ui-less/theme.less"; @fontPath : '../../../themes/@{theme}/assets/fonts';
/ Import Theme /
/@import (multiple) "theme.less";/ @import (multiple) "~semantic-ui-less/theme.less";
/ End Config /
I try very very hard to solve this error but I can't
Please, give me some advices.
Thanks.
I fixed this by adding @fontPath : '~semantic-ui-less/themes/default/assets/fonts'; to the bottom of the theme.config file.
@fontPath : '~semantic-ui-less/themes/default/assets/fonts';
theme.config
Hello, everyone. I've try to customize semantic-ui in react with craco by follow this instuction.
and I try to yarn start but I face this error
Error: Can't resolve './themes/themes/default/assets/fonts/icons.eot'
This is the bottom of my theme.config
/ Folders /
/ Path to theme packages / @themesFolder : 'themes';
/ Path to site override folder / @siteFolder : '../../src/semantic-ui/site';
@import (multiple) "~semantic-ui-less/theme.less"; @fontPath : '../../../themes/@{theme}/assets/fonts';
/ Import Theme /
/@import (multiple) "theme.less";/ @import (multiple) "~semantic-ui-less/theme.less";
/ End Config /
I try very very hard to solve this error but I can't
Please, give me some advices.
Thanks.