diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 8570fb03d..0594abe6f 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -34,7 +34,10 @@ "devDependencies": { "@types/fs-extra": "^9.0.12", "@types/lodash": "^4.14.172", - "@types/postcss-load-config": "^3.0.1" + "@types/postcss-load-config": "^3.0.1", + "@vitejs/plugin-vue": "^1.6.0", + "@vue/compiler-sfc": "^3.2.8", + "vue": "^3.2.8" }, "dependencies": { "@babel/core": "^7.15.0", @@ -48,6 +51,7 @@ "@vant/markdown-vetur": "^2.2.0", "@vant/stylelint-config": "^1.4.2", "@vant/touch-emulator": "^1.3.2", + "@vitejs/plugin-vue-jsx": "^1.1.7", "@vue/babel-plugin-jsx": "^1.0.6", "@vue/test-utils": "2.0.0-rc.6", "autoprefixer": "^10.3.1", @@ -87,9 +91,11 @@ "stylelint": "^13.13.1", "ts-jest": "^27.0.5", "typescript": "^4.3.5", - "vue3-jest": "^27.0.0-alpha.2", + "vite": "^2.5.3", + "vite-plugin-md": "^0.11.0", "vue-loader": "^16.5.0", "vue-router": "^4.0.0", + "vue3-jest": "^27.0.0-alpha.2", "webpack": "^5.51.1", "webpack-dev-server": "^4.0.0", "webpack-merge": "^5.8.0", diff --git a/packages/vant-cli/site/desktop/App.vue b/packages/vant-cli/site/desktop/App.vue index b7de5ae20..24c99a808 100644 --- a/packages/vant-cli/site/desktop/App.vue +++ b/packages/vant-cli/site/desktop/App.vue @@ -15,7 +15,7 @@ - <% } %> - -
- - -