|
2 weeks ago | |
---|---|---|
.. | ||
AreaSelect | 7 months ago | |
AreaSelectPanel | 7 months ago | |
BackTop | 1 month ago | |
CtDialog | 5 months ago | |
CtFilter | 2 months ago | |
CtForm | 4 weeks ago | |
CtPagination | 10 months ago | |
CtSearch | 10 months ago | |
CtTable | 4 months ago | |
CtVuetify | 1 year ago | |
DatePicker | 7 months ago | |
Echarts | 10 months ago | |
Empty | 10 months ago | |
Enterprise | 1 month ago | |
FormUI | 1 month ago | |
IFrame | 5 months ago | |
ImgCropper | 9 months ago | |
Knowledge | 3 weeks ago | |
Loading | 1 month ago | |
Position | 3 weeks ago | |
PositionLongStrip | 1 month ago | |
PreviewImg | 3 months ago | |
ProgressBar | 8 months ago | |
QrCode | 6 months ago | |
Recharge | 9 months ago | |
SvgIcon | 9 months ago | |
Upload | 2 months ago | |
VerificationCode | 2 weeks ago | |
Verifition | 6 months ago | |
headSearch | 3 weeks ago | |
industryTypeCard | 7 months ago | |
jobTypeCard | 7 months ago | |
pay | 1 month ago | |
personalRecharge | 3 months ago | |
README.md | 1 year ago |
Vue template files in this folder are automatically imported.
Importing is handled by unplugin-vue-components. This plugin automatically imports .vue
files created in the src/components
directory, and registers them as global components. This means that you can use any component in your application without having to manually import it.
The following example assumes a component located at src/components/MyComponent.vue
:
<template>
<div>
<MyComponent />
</div>
</template>
<script lang="ts" setup>
//
</script>
When your template is rendered, the component's import will automatically be inlined, which renders to this:
<template>
<div>
<MyComponent />
</div>
</template>
<script lang="ts" setup>
import MyComponent from '@/components/MyComponent.vue'
</script>