From a85b7b6369f3ed6ffaa74414cbcff331ebbaffbc Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Sat, 28 Jan 2017 22:01:30 -0800 Subject: [PATCH] Create Icon component --- index.html | 7 ------- package.json | 2 ++ src/App.vue | 3 ++- src/Icon.vue | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 src/Icon.vue diff --git a/index.html b/index.html index e886f30..5658e52 100644 --- a/index.html +++ b/index.html @@ -9,14 +9,7 @@ margin: 0; } - .icon { - display: inline-block; - line-height: 0; - } - .icon > svg { - stroke: currentColor; - } diff --git a/package.json b/package.json index 4e7236c..b22869d 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,8 @@ "babel-loader": "^6.2.10", "babel-preset-es2015": "^6.22.0", "css-loader": "^0.26.1", + "stylus": "^0.54.5", + "stylus-loader": "^2.4.0", "vue": "^2.1.10", "vue-loader": "^10.1.2", "vue-template-compiler": "^2.1.10", diff --git a/src/App.vue b/src/App.vue index 095f60b..dfe8667 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,10 @@ + + \ No newline at end of file