DevCloudFE / vue-devui

UI components based on Vue3 and DevUI Design
https://vue-devui.github.io
MIT License
1.01k stars 291 forks source link

refactor: fix some deprecation warnings #1869

Open fu050409 opened 1 month ago

fu050409 commented 1 month ago

处理弃用警告

What's Changed

  1. 修复了以下警告:

    [vite] warning:
    C:/Users/nocti/Desktop/Workspace/vue-devui/packages/devui-vue/docs/.vitepress/demo/Demo.vue
    28 |      const DemoComponent =
    29 |        props.demoList?.[props.targetFilePath]?.default ?? defineAsyncComponent(() => import(/* vite-ignore */ props.targetFilePath));
    30 |      watch(
      |      ^
    31 |        () => route.path,
    32 |        (path) => {
    The above dynamic import cannot be analyzed by vite.
    See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.

    已知这是一个拼写错误,vite要求使用/* @vite-ignore */而不是/* vite-ignore */

  2. 修复了 [@vue/compiler-sfc] ::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ::v-deep <inner-selector>.,这是由于新版的Vue使用:deep(<inner-selector>)而不是::v-deep <inner-selector>

  3. 更新了CONTRIBUTING.md,之前的PR已经被Merge,我们无需要求开发者使用旧版pnpm

github-actions[bot] commented 1 month ago

PR preview has been successfully built and deployed to https://vue-devui-pr-1869.surge.sh.

github-actions[bot] commented 1 month ago

Deploy PR preview failed.

github-actions[bot] commented 1 month ago

Deploy PR preview failed.

github-actions[bot] commented 1 month ago

Deploy PR preview failed.

github-actions[bot] commented 1 month ago

Deploy PR preview failed.

fu050409 commented 1 month ago

Deploy PR preview failed.

这个机器人怎么回事

github-actions[bot] commented 4 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 3 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 3 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 3 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 3 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 2 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 2 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 2 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 2 weeks ago

Deploy PR preview failed.

github-actions[bot] commented 1 week ago

Deploy PR preview failed.

github-actions[bot] commented 1 week ago

Deploy PR preview failed.

github-actions[bot] commented 1 week ago

Deploy PR preview failed.

github-actions[bot] commented 5 days ago

Deploy PR preview failed.

github-actions[bot] commented 5 days ago

Deploy PR preview failed.

github-actions[bot] commented 5 days ago

Deploy PR preview failed.

github-actions[bot] commented 5 days ago

Deploy PR preview failed.

github-actions[bot] commented 5 days ago

Deploy PR preview failed.

BigFrontEnd-China commented 5 days ago

image

image

这个代码还没merge到dev分支吗?目前还是有这个错误

BigFrontEnd-China commented 5 days ago

image 按@vite-ignore修复后OK了

fu050409 commented 5 days ago

image 按@vite-ignore修复后OK了

目前还是在等 @GreatZPP 的 review,社区这边应该是有统一时间对 PR 进行审查合并

github-actions[bot] commented 5 days ago

Deploy PR preview failed.