From 3ed2fb45796c45a057a849aa68e07df6a8f51018 Mon Sep 17 00:00:00 2001 From: Stefan Wimmer Date: Tue, 28 Nov 2017 20:22:49 +0100 Subject: [PATCH 1/2] Add instructions for webpack with Sass/SCSS --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ad6fce84..ead20a00 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ Or Use webpack import 'element-theme-chalk'; ``` +Or Use webpack with Sass/SCSS +```javascript +$--font-path: "~element-theme-chalk/src/fonts"; +@import "~element-theme-chalk/src/index.scss"; +``` + Or ```html From 1bfa2d0b629e5fc05df95c695921e8038ef98fdd Mon Sep 17 00:00:00 2001 From: Stefan Wimmer Date: Tue, 28 Nov 2017 20:26:18 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ead20a00..8866c717 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ import 'element-theme-chalk'; ``` Or Use webpack with Sass/SCSS -```javascript +```scss $--font-path: "~element-theme-chalk/src/fonts"; @import "~element-theme-chalk/src/index.scss"; ```