Skip to content
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

请问此框架样式支持按需导入吗 #100

Closed
chenxiangcai opened this issue Dec 21, 2021 · 1 comment
Closed

请问此框架样式支持按需导入吗 #100

chenxiangcai opened this issue Dec 21, 2021 · 1 comment

Comments

@chenxiangcai
Copy link

Development Relevant Information:

  • BalmUI version:
  • Browser:
  • Operating System:

Description:

Steps To Reproduce:

@elf-mouse
Copy link
Member

BalmUI 主要是按Vue组件、插件、指令等来分类的,支持导入全部样式或独立样式的两种用法,比如<ui-drawer>

  • 全部引用

    @use 'balm-ui/dist/balm-ui';
  • 独立引用(根据文档导入该组件所需的样式模块)

    @use 'balm-ui/components/core';
    @use 'balm-ui/components/drawer/drawer';
    @use 'balm-ui/components/list/list';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants