Closed blablahaha closed 7 years ago
I found the solution
public/fonts/vendor/element-ui/packages/theme-default/src/
just setmix.options({
processCssUrls: false,
});
app.scss
(override default), something likes:@font-face {
font-family: element-icons;
src: url(../fonts/element-icons.woff?t=1472440741) format('woff'),
url(../fonts/element-icons.ttf?t=1472440741) format('truetype');
font-weight: 400;
font-style: normal
}
Hi,
How to change the default fonts directory?
After
npm run dev
, it automatically moves fonts to the path like:public/fonts/vendor/element-ui/packages/theme-default/src/