Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

样式引用问题 #54

Closed
b2nil opened this issue Oct 26, 2020 · 0 comments
Closed

样式引用问题 #54

b2nil opened this issue Oct 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@b2nil
Copy link
Owner

b2nil commented Oct 26, 2020

目前部分组件按需引用时,还需要引用所依赖的其他组件的样式,这样相对繁琐,对用户使用非常不友好。 如:

import { AtActivityIndicator } from 'taro-ui-vue3'

// 组件依赖的样式文件(仅按需引用时需要
@import "taro-ui-vue3/dist/style/components/activity-indicator.scss";
@import 'taro-ui-vue3/dist/style/components/loading.scss';

组件依赖的样式文件,最好在组件的样式文件中引用,不应该由用户另行引用。

@b2nil b2nil added the enhancement New feature or request label Oct 26, 2020
@b2nil b2nil closed this as completed in d8fdd9f Oct 26, 2020
@b2nil b2nil added this to the v1.0.0-alpha.13 milestone Oct 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant