Skip to content

Commit

Permalink
fix: preset-vue (#2204)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jeffwcx authored Sep 20, 2024
1 parent c29b75a commit da78539
Show file tree
Hide file tree
Showing 14 changed files with 945 additions and 451 deletions.
18 changes: 9 additions & 9 deletions docs/theme/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,16 @@ export default {

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

| Key | 描述 |
| :------: | :--------------------: |
| github | GitHub 平台 |
| weibo | 微博平台 |
| Key | 描述 |
| :------: | :--------------: |
| github | GitHub 平台 |
| weibo | 微博平台 |
| x | X(Twitter)平台 |
| gitlab | Gitlab 平台 |
| facebook | Facebook 平台 |
| zhihu | 知乎平台 |
| yuque | 语雀平台 |
| linkedin | Linkedin 平台 |
| gitlab | Gitlab 平台 |
| facebook | Facebook 平台 |
| zhihu | 知乎平台 |
| yuque | 语雀平台 |
| linkedin | Linkedin 平台 |

```ts
export default {
Expand Down
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 da78539

Please sign in to comment.