|
@@ -14,9 +14,9 @@ The above website enables you to preview theme of a new theme color in real-time
|
|
|
$--color-primary: teal;
|
|
|
|
|
|
/* icon font path, required */
|
|
|
-$--font-path: '../node_modules/element-ui/lib/theme-chalk/fonts';
|
|
|
+$--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|
|
|
|
|
-@import "../node_modules/element-ui/packages/theme-chalk/src/index";
|
|
|
+@import "~element-ui/packages/theme-chalk/src/index";
|
|
|
```
|
|
|
|
|
|
Then in the entry file of your project, import this style file instead of Element's built CSS:
|