open-index/open-npm huggingface dataset:
npm package: @moreillon/vue_application_template_vuetify
Description: Note: This package is made for Vuetify 2
Author: Maxime Moreillon
Latest version: 3.6.2

# Vuetify application template

Note: This package is made for Vuetify 2

## Usage

```vue
<template>
  <AppTemplate :options="options" @user="get_user($event)">
    <template v-slot:nav>
      <v-list dense nav>
        <v-list-item
          v-for="(item, index) in nav"
          :key="`nav_item_${index}`"
          :to="item.to"
          exact
        >
          <v-list-item-icon>
            <v-icon>{{ item.icon }}</v-icon>
          </v-list-item-icon>

          <v-list-item-content>
            <v-list-item-title>{{ item.title }}</v-list-item-title>
          </v-list-item-content>
        </v-list-item>
      </v-list>
    </template>
  </AppTemplate>
</template>

<script>
import AppTemplate from "@moreillon/vue_application_template_vuetify"
export default {
  name: "App",

  components: {
    AppTemplate,
  },

  data: () => ({
    options: {
      title: "Your application title goes here",
      login_url: process.env.VUE_APP_LOGIN_URL,
      identification_url: process.env.VUE_APP_IDENTIFICATION_URL,
    },
    nav: [
      { title: "Home", to: { name: "Home" }, icon: "mdi-home" },
      {
        title: "About",
        to: { name: "About" },
        icon: "mdi-information-outline",
      },
      { title: "Misc", to: { name: "Misc" }, icon: "mdi-menu" },
    ],
  }),

  methods: {
    get_user(user) {
      console.log(user)
    },
  },
}
</script>
```

## Options

```javascript
options: {
  // Names
  title: "Vuetify template example",
  author: 'Example Author', // name written in the footer

  // Colors
  colors: {
    app_bar: 'yellow',
  },

  // Logos
  header_logo: require('@/assets/skt_logo_white.svg'),
  authentication_logo: require('@/assets/skt_logo_black.svg'),

  // Authentication
  // Authentication is enforced if both those the following options are set
  login_url: LOGIN_URL,
  identification_url: IDENTIFICATION_URL,



},
```