![]() |
hai 10 meses | |
---|---|---|
.. | ||
AreaSelect | hai 11 meses | |
CtDialog | hai 11 meses | |
CtForm | hai 11 meses | |
CtPagination | hai 11 meses | |
CtSearch | hai 11 meses | |
CtVuetify | hai 1 ano | |
DatePicker | hai 11 meses | |
Empty | hai 11 meses | |
Enterprise | hai 10 meses | |
FormUI | hai 10 meses | |
Position | hai 10 meses | |
PositionLongStrip | hai 10 meses | |
PreviewImg | hai 11 meses | |
VerificationCode | hai 11 meses | |
headSearch | hai 11 meses | |
industryTypeCard | hai 11 meses | |
jobTypeCard | hai 11 meses | |
publicRecruitment | hai 10 meses | |
README.md | hai 1 ano |
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>