Alisa/web/src/components
2024-07-11 21:46:35 +02:00
..
NavBarIcons web: added ids to listviewelement 2024-07-11 18:51:10 +02:00
CategoryContainer.vue web: improve struckture 2024-07-11 21:09:14 +02:00
Clipboard.vue web: formatting by prettier 2024-07-10 19:48:25 +02:00
DeleteDialog.vue web: functioning delete button 2024-07-11 21:46:35 +02:00
HeaderBar.vue web: added notes to display 2024-07-11 21:09:14 +02:00
ListViewElement.vue web: functioning delete button 2024-07-11 21:46:35 +02:00
loginPage.vue web: implemented Server State (Schmackofatz) 2024-07-10 20:38:10 +02:00
MainPage.vue web: fix dates on website 2024-07-11 15:07:15 +02:00
README.md init web commit 2024-07-05 11:49:57 +02:00
UpdateDialog.vue web: functioning delete button 2024-07-11 21:46:35 +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>