Closed macieleustaquio closed 1 year ago
Styles are applied when layout classes are present as written here: https://github.com/themeselection/materio-vuetify-vuejs-admin-template-free/blob/main/typescript-version/src/layouts/blank.vue#L11
Please wrap your login page with those classes (most probably .layout-blank
) and it should work as expected.
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.
This issue has been automatically marked as closed because it has no recent activity.
Steps to reproduce
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ // ...setupLayouts(routes), { path: "/", name: "login", component: () => import ("@/layouts/components/Login.vue") }
], scrollBehavior() { return { top: 0 } }, })
export default router
What is expected?
I expected the login page to load the same as the template
What is actually happening?
When I change the theme's default homepage to the login page, the template and scss are not loaded.
Additional data