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