Download packages/effects/layouts/src/authentication/form.vue from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/layouts/src/authentication/form.vue
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/effects/layouts/src/authentication/form.vue
-
curl -L -o form.vue https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/layouts/src/authentication/form.vue
856 Bytes
| <script setup lang="ts"> | |
| defineOptions({ | |
| name: 'AuthenticationFormView', | |
| }); | |
| </script> | |
| <template> | |
| <div | |
| class="flex-col-center dark:bg-background-deep bg-background relative px-6 py-10 lg:flex-initial lg:px-8" | |
| > | |
| <slot></slot> | |
| <!-- Router View with Transition and KeepAlive --> | |
| <RouterView v-slot="{ Component, route }"> | |
| <Transition appear mode="out-in" name="slide-right"> | |
| <KeepAlive :include="['Login']"> | |
| <component | |
| :is="Component" | |
| :key="route.fullPath" | |
| class="enter-x mt-6 w-full sm:mx-auto md:max-w-md" | |
| /> | |
| </KeepAlive> | |
| </Transition> | |
| </RouterView> | |
| <!-- Footer Copyright --> | |
| <div | |
| class="text-muted-foreground absolute bottom-3 flex text-center text-xs" | |
| > | |
| <slot name="copyright"> </slot> | |
| </div> | |
| </div> | |
| </template> | |