chore(tooling): extend from turbo config
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ export default route(function (/* { store, ssrContext } */) {
|
||||
? createWebHistory
|
||||
: createWebHashHistory
|
||||
|
||||
const Router = createRouter({
|
||||
return createRouter({
|
||||
scrollBehavior: () => ({ left: 0, top: 0 }),
|
||||
routes,
|
||||
|
||||
@@ -28,6 +28,4 @@ export default route(function (/* { store, ssrContext } */) {
|
||||
// quasar.conf.js -> build -> publicPath
|
||||
history: createHistory(process.env.VUE_ROUTER_BASE),
|
||||
})
|
||||
|
||||
return Router
|
||||
})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
extends: ['@antfu', 'plugin:prettier/recommended'],
|
||||
extends: ['@antfu', 'plugin:prettier/recommended', 'turbo'],
|
||||
plugins: ['prettier'],
|
||||
rules: {
|
||||
'vue/no-setup-props-destructure': 0,
|
||||
|
||||
@@ -29,5 +29,6 @@
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"globalEnv": ["VERCEL_ANALYTICS_ID", "ALGOLIA_API_KEY", "SERVER", "VUE_ROUTER_MODE", "VUE_ROUTER_BASE"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user