-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
components目录下其他文件夹的组件引入失效 #57
Comments
@ottocsb 靓仔你好,我在最近规范了多层级组件。 如果你是旧项目。可以在 后边我会在文档中加以说明 |
@ottocsb 靓仔你好,图标组件目前测试已经失效,后边会改为 unocss 图标方案 👉 Icons preset |
你可以暂时把下边这段代码粘贴到项目根目录的 import {
defineConfig,
presetAttributify,
presetTypography,
presetUno,
presetIcons,
} from 'unocss'
import transformerDirectives from '@unocss/transformer-directives'
export default defineConfig({
transformers: [transformerDirectives()],
presets: [
presetAttributify(),
presetIcons({
autoInstall: true,
}),
presetUno(),
presetTypography(),
],
}) 然后把 |
@ottocsb 靓仔你好,图标使用方式已更新,具体可见 👉 dishait/tov-template#8-%E5% |
@ottocsb 关于嵌套组件的用法更新为 👉 dishait/tov-template#7-%E,当然你仍然可以通过在 |
信息
nodejs 版本
18.12
包管理器及其版本
pnpm
bug
描述
components目录下其他文件夹的组件引入失效,个人项目使用此模板搭建,刚刚pull了一下,发现原来生效的突然失效了,把此项目最新代码拉下来发现也是失效的
预期结果
正常引用组件
最小测试仓库
此仓库
The text was updated successfully, but these errors were encountered: