We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644750a commit 4714cd3Copy full SHA for 4714cd3
examples/sites/demos/pc/webdoc/import-components.md
@@ -73,6 +73,13 @@ module.exports = {
73
}
74
```
75
76
+或者,你也可以在项目根目录的 `.npmrc` 文件中添加以下配置来提升所有 TinyVue 相关的依赖:
77
+
78
+```ini
79
+# 提升所有@opentiny开头的包
80
+public-hoist-pattern[]=@opentiny/*
81
+```
82
83
想了解更多自动按需导入的信息,请参考:
84
[unplugin-vue-components](https://github.com/antfu/unplugin-vue-components)、
85
[unplugin-auto-import](https://github.com/antfu/unplugin-auto-import)、
0 commit comments