Add prettier config
This commit is contained in:
parent
bc8d1b0a21
commit
a619037fa7
|
|
@ -21,5 +21,8 @@ module.exports = {
|
|||
"plugin:cypress/recommended"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"rules": {
|
||||
"quotes": ["error", "single"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"tabWidth": 2,
|
||||
"printWidth": 120
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import HomeView from '../views/HomeView.vue'
|
||||
import HomeView from '../views/HomeView.vue';
|
||||
import learningPathRoutes from './learningpath.routes'
|
||||
|
||||
const router = createRouter({
|
||||
|
|
@ -14,7 +14,7 @@ const router = createRouter({
|
|||
}
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
path: '/login',
|
||||
component: HomeView,
|
||||
beforeEnter(to, from, next) {
|
||||
window.location.href = "/sso/login/";
|
||||
|
|
|
|||
Loading…
Reference in New Issue