知识库

最流行的前端框架Vue官网及常见问题

2024-12-27 19:55:38 李腾 1 次阅读

官网:https://cn.vuejs.org/

服务端渲染

服务端渲染

常见问题

1、[@vue/compiler-sfc] the >>> and /deep/ combinators have been deprecated. Use :deep() instead.。

使用patch-package把@vue/compiler-sfc中的以下代码注释掉即可。

/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js


      // warn(
      //   `the >>> and /deep/ combinators have been deprecated. Use :deep() instead.`
      // );

/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js


      // warn(
      //   `the >>> and /deep/ combinators have been deprecated. Use :deep() instead.`
      // );

评论 (0)

登录后发表评论

暂无评论,快来发表第一条评论吧!