From 19a44d8a7b6f80658cb61b447b0ae0bc3628d55a Mon Sep 17 00:00:00 2001
From: hooray <304327508@qq.com>
Date: Wed, 29 Sep 2021 02:30:29 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5=20vite-plugin-vue-setup-exte?=
=?UTF-8?q?nd=20=E4=BE=9D=E8=B5=96=EF=BC=8C=E4=BC=98=E5=8C=96=20plop=20?=
=?UTF-8?q?=E6=A8=A1=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 1 +
plop-templates/page/index.hbs | 14 +++-----
pnpm-lock.yaml | 61 +++++++++++++++++++++++++++++++++++
vite/plugins/index.js | 2 ++
vite/plugins/setup-extend.js | 5 +++
5 files changed, 74 insertions(+), 9 deletions(-)
create mode 100644 vite/plugins/setup-extend.js
diff --git a/package.json b/package.json
index 565f241..52668a2 100644
--- a/package.json
+++ b/package.json
@@ -56,6 +56,7 @@
"vite-plugin-restart": "^0.0.2",
"vite-plugin-spritesmith": "^0.1.1",
"vite-plugin-svg-icons": "^1.0.4",
+ "vite-plugin-vue-setup-extend": "^0.1.0",
"vue-eslint-parser": "^7.11.0"
}
}
diff --git a/plop-templates/page/index.hbs b/plop-templates/page/index.hbs
index 8d4d42a..6b7732c 100644
--- a/plop-templates/page/index.hbs
+++ b/plop-templates/page/index.hbs
@@ -7,15 +7,11 @@
-