Comments (4)
@flsion well, I know it can use import as
to rename the component name, but I think it is too troublesome. Thank you for your answer.
from arco-design-vue.
You need to register the ArcoVue component library in the app before you can use the usage of <a-button>
in the template.
https://arco.design/vue/docs/start
from arco-design-vue.
@flsion I mean the name of the export
component need a default prefix. In this way, it can distinguish the user component and library component when I imported component on demand.
from arco-design-vue.
@WJCHumble In order to be more versatile, the exported variable of the component will not be prefixed by default, if want to add a prefix, you can use import as
to rename the component name.
<script setup>
import { Button as AButton } from "@arco-design/web-vue"
</script>
<template>
<AButton type="primary">Primary</AButton>
</template>
from arco-design-vue.
Related Issues (20)
- a-modal中校验表单不管用 HOT 2
- 图片预览的时候鼠标松开图片可以不回中间位置
- drawer组件在mask为false时,arco-drawer-container的大小与arco-drawer应该一样,防止阻断了其他区域的鼠标点击
- `<color-picker/>` 透明度调节组件网格背景溢出容器
- 建议具有透传style props的组件也提供透传class作为补充,因为透传class对于原子css真的很有用
- a-modal 如何隐藏确认按钮 HOT 1
- feat form组件的validate功能增强
- 能否提供跟react差不多一致的vue版的input-tag组件
- Message 组件 id为undefined 对象解构问题
- upload 组件中,我使用插槽名为 extra-button 添加了一个预览图标组件,我想使用 extra-button 的参数 fileItem,也就是点击可以获取 fileItem 数据。但在属性 list-type 为 "picture-card" 时,fileItem 为 Undefined,这是为什么?
- <a-grid-item>嵌套后出现渲染bug
- 抽屉组件在打开的状态是否可以操作抽屉外部dom
- input-search 组件 在tsx 下 placeholder 提示 Type '{ placeholder: string
- 抽屉 Drawer组件、Modal 对话框组件是否可以提供在头部中进行全屏最大化和还原的操作,类似window的窗口 HOT 1
- 滚动条不能自适应父级高度
- 气泡卡片父容器为fixed定位,会跟随滚动条移动 HOT 1
- Components(Upload): show-retry-button invalid
- a-input-number组件在readonly模式下,输入框不能输入值,但是还是可以使用上下按键改变数值 HOT 1
- 添加nuxt自动导入模块,建议
- 水平菜单选中项计算错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arco-design-vue.