open-index/open-npm huggingface dataset:
npm package: @moreillon/vuetify3-application-template
Description: Usage example:
Latest version: 3.3.0

# Vuetify 3 application template

Usage example:

```vue
<template>
  <v-app>
    <AppTemplate :options="options" @userChanged="handleUserChanged($event)">
      <template v-slot:nav>
        <v-list>
          <v-list-item> </v-list-item>
        </v-list>
      </template>
    </AppTemplate>
  </v-app>
</template>

<script lang="ts" setup>
import AppTemplate from "@moreillon/vuetify3-application-template"
import "@moreillon/vuetify3-application-template/dist/style.css"
import { ref } from "vue"

const options = ref({
  title: "Example application",
  author: "Maxime Moreillon",
  login_url: "https://api.users.maximemoreillon.com/auth/login",
  identification_url: "https://api.users.maximemoreillon.com/users/self",
})

async function handleUserChanged({ user, jwt }: any) {
  // Do something with user info or JWT
}
</script>
```