From 3baca257253abf2e105047c8466b9a8d7ebaed5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sat, 18 Jan 2020 08:07:38 +0800 Subject: [PATCH] fix(create-app): should set css preprocessor --- .../templates/src/demo-button/index.less | 3 --- .../templates/src/demo-button/index.vue | 2 +- .../generators/templates/src/style/base.less | 5 ----- .../generators/templates/src/style/var.less | 2 -- .../generators/templates/vant.config.js | 3 +++ packages/create-vant-cli-app/src/generator.ts | 19 ++++++++++++------- 6 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 packages/create-vant-cli-app/generators/templates/src/demo-button/index.less delete mode 100644 packages/create-vant-cli-app/generators/templates/src/style/base.less delete mode 100644 packages/create-vant-cli-app/generators/templates/src/style/var.less diff --git a/packages/create-vant-cli-app/generators/templates/src/demo-button/index.less b/packages/create-vant-cli-app/generators/templates/src/demo-button/index.less deleted file mode 100644 index 6446ebfd4..000000000 --- a/packages/create-vant-cli-app/generators/templates/src/demo-button/index.less +++ /dev/null @@ -1,3 +0,0 @@ -.test { - color: red; -} diff --git a/packages/create-vant-cli-app/generators/templates/src/demo-button/index.vue b/packages/create-vant-cli-app/generators/templates/src/demo-button/index.vue index 5ea80a62b..e5e9e8947 100644 --- a/packages/create-vant-cli-app/generators/templates/src/demo-button/index.vue +++ b/packages/create-vant-cli-app/generators/templates/src/demo-button/index.vue @@ -18,7 +18,7 @@ export default { }; -