Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

icons not showing vue js

I'm using element UI and im using the component daterangepicker

this is my file

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI)

and my date range picker looks like thisenter image description here

i dont know why the icons is not showing i already import the css file

like image 313
Beginner Avatar asked Oct 28 '25 14:10

Beginner


1 Answers

In your scss file, do this:

/* just in case, you like to change theme color */
$--color-primary: blue;

/* icon font path, required */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index";
like image 188
Syed Avatar answered Oct 31 '25 04:10

Syed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!