Files
pronature-platform/src/components
..
2026-04-03 13:46:46 +03:00
2026-04-03 17:45:20 +03:00
2026-04-03 23:47:54 +03:00
2026-04-03 13:47:14 +03:00
2024-11-06 20:09:02 +02:00
2026-02-17 20:45:43 +02:00
2026-02-08 09:20:54 +02:00
2024-11-06 20:09:02 +02:00
2024-10-29 19:49:24 +02:00

Components

Vue template files in this folder are automatically imported.

🚀 Usage

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>