<script lang="ts">
-export default {
+import { defineComponent } from "vue";
+
+export default defineComponent({
name: "Login",
-};
+});
</script>
<style lang="scss" scoped>
- #messenger {
+ #login {
width: 350px;
height: 500px;
background-color: #e6e6e6;
const routes: Array<RouteRecordRaw> = [
{
- path: "/",
+ path: "/asdas",
name: "Splash",
component: Splash
},
},
{
- path: "/login",
+ path: "/",
name: "Login",
component: Login
},
];
const router = createRouter({
- history: createWebHashHistory(),
+ history: process.env.IS_ELECTRON ? createWebHashHistory() : createWebHistory(process.env.BASE_URL),
routes
});