feat(vite): 引入自动导入 components 的插件

This commit is contained in:
菲鸽
2024-02-24 18:03:16 +08:00
parent 6e3acca83f
commit b94d6512a3
5 changed files with 71 additions and 47 deletions

View File

@@ -0,0 +1,5 @@
<template>
<span>
<slot />
</span>
</template>

View File

@@ -0,0 +1,12 @@
<route lang="json5">
{
layout: 'demo',
style: { navigationBarTitleText: 'auto import component' },
}
</route>
<template>
<div>
<h1>欢迎使用 vitess-uni-app</h1>
<AppTest> 这个组件会自动导入 </AppTest>
</div>
</template>