Skip to content

Commit

Permalink
fix: preset-vue (#2143)
Browse files Browse the repository at this point in the history
* fix: repository field may be empty

* fix: give unique filename for each demo

* fix: limit the resolve rule to the demo

* fix: vue jsx import isssue

* fix: multi vue instance issue in mfsu mode

* chore: remove comments

* feat: support lastest vue

* fix: vue live demo

* feat: using import instead of require for demo context

* fix: use singleton vue

* refactor: avoid unnecessary chunk split
  • Loading branch information
jeffwcx authored Jul 8, 2024
1 parent 28aaa6d commit 4ab098a
Show file tree
Hide file tree
Showing 13 changed files with 657 additions and 146 deletions.
1 change: 0 additions & 1 deletion examples/vue/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// import { ElementPlusResolver } from 'unplugin-vue-components/resolvers';
import path from 'node:path';
export default {
mfsu: false,
apiParser: {},
resolve: {
entryFile: './src/index.ts',
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"element-plus": "^2.3.14",
"pinia": "^2.1.7",
"react": "^18.2.0",
"vue": "3.4.15"
"vue": "3.4.28"
},
"devDependencies": {
"@dumijs/preset-vue": "workspace:*",
Expand Down
Loading

0 comments on commit 4ab098a

Please sign in to comment.