![]() |
10 місяців тому | |
---|---|---|
.. | ||
AreaSelect | 11 місяців тому | |
CtDialog | 11 місяців тому | |
CtForm | 11 місяців тому | |
CtPagination | 11 місяців тому | |
CtSearch | 11 місяців тому | |
CtVuetify | 1 рік тому | |
DatePicker | 11 місяців тому | |
Empty | 11 місяців тому | |
Enterprise | 10 місяців тому | |
FormUI | 11 місяців тому | |
Position | 10 місяців тому | |
PositionLongStrip | 10 місяців тому | |
PreviewImg | 1 рік тому | |
VerificationCode | 11 місяців тому | |
headSearch | 11 місяців тому | |
industryTypeCard | 11 місяців тому | |
jobTypeCard | 11 місяців тому | |
publicRecruitment | 10 місяців тому | |
README.md | 1 рік тому |
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>