Skip to content

Commit

Permalink
test: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowCo committed Apr 5, 2024
1 parent 57435c7 commit 17dd6f3
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 283 deletions.
14 changes: 13 additions & 1 deletion examples/taro_webpack5_vue3/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ const config = {
},
sourceRoot: 'src',
outputRoot: `dist/${process.env.TARO_ENV}`,
plugins: ['@tarojs/plugin-html'],
plugins: [
'@tarojs/plugin-html',
[
'@tarojs/plugin-framework-vue3',
{
vueLoaderOption: {
compilerOptions: {
whitespace: 'preserve'
}
}
}
]
],
defineConstants: {
},
copy: {
Expand Down
4 changes: 2 additions & 2 deletions examples/taro_webpack5_vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"@unocss/webpack": "^0.58.5",
"@unocss/webpack": "^0.58.9",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compiler-sfc": "^3.0.0",
"babel-plugin-import": "^1.13.3",
Expand All @@ -77,7 +77,7 @@
"style-loader": "1.3.0",
"stylelint": "9.3.0",
"typescript": "^3.7.0",
"unocss": "^0.58.5",
"unocss": "^0.58.9",
"unocss-preset-weapp": "link:../../",
"vue-loader": "^17.0.0",
"webpack": "5.69.0"
Expand Down
Loading

0 comments on commit 17dd6f3

Please sign in to comment.