![]() |
пре 1 година | |
---|---|---|
.. | ||
CtDialog | пре 1 година | |
CtForm | пре 1 година | |
CtPagination | пре 1 година | |
CtSearch | пре 1 година | |
CtVuetify | пре 1 година | |
Empty | пре 1 година | |
Enterprise | пре 1 година | |
FormUI | пре 1 година | |
Position | пре 1 година | |
PositionLongStrip | пре 1 година | |
VerificationCode | пре 1 година | |
headSearch | пре 1 година | |
industryTypeCard | пре 1 година | |
jobTypeCard | пре 1 година | |
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>