Skip to content

Commit da78539

Browse files
authored
fix: preset-vue (#2204)
* fix: preset-vue (#2143) * 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 * fix: illegal characters in the path under Windows `:` should not allowed to be contained in `api.key` cause it may be used in `api.writeTmpFile` #2188 * fix: the include/exclude in webpack needs to correspond to the path format of the system
1 parent c29b75a commit da78539

File tree

14 files changed

+945
-451
lines changed

14 files changed

+945
-451
lines changed

docs/theme/default.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,16 @@ export default {
174174

175175
目前支持以下社交平台图标:
176176

177-
| Key | 描述 |
178-
| :------: | :--------------------: |
179-
| github | GitHub 平台 |
180-
| weibo | 微博平台 |
177+
| Key | 描述 |
178+
| :------: | :--------------: |
179+
| github | GitHub 平台 |
180+
| weibo | 微博平台 |
181181
| x | X(Twitter)平台 |
182-
| gitlab | Gitlab 平台 |
183-
| facebook | Facebook 平台 |
184-
| zhihu | 知乎平台 |
185-
| yuque | 语雀平台 |
186-
| linkedin | Linkedin 平台 |
182+
| gitlab | Gitlab 平台 |
183+
| facebook | Facebook 平台 |
184+
| zhihu | 知乎平台 |
185+
| yuque | 语雀平台 |
186+
| linkedin | Linkedin 平台 |
187187

188188
```ts
189189
export default {

examples/vue/.dumirc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// import { ElementPlusResolver } from 'unplugin-vue-components/resolvers';
44
import path from 'node:path';
55
export default {
6-
mfsu: false,
76
apiParser: {},
87
resolve: {
98
entryFile: './src/index.ts',

examples/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"element-plus": "^2.3.14",
2020
"pinia": "^2.1.7",
2121
"react": "^18.2.0",
22-
"vue": "3.4.15"
22+
"vue": "3.4.28"
2323
},
2424
"devDependencies": {
2525
"@dumijs/preset-vue": "workspace:*",

0 commit comments

Comments
 (0)