Skip to content

Commit

Permalink
🚀 fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
doroudi committed Sep 14, 2024
1 parent e227706 commit e871213
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
"vite-bundle-visualizer": "^0.8.1",
"vite-plugin-inspect": "^0.7.42",
"vite-plugin-mkcert": "^1.17.6",
"vite-plugin-pages": "^0.32.0",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-vue-devtools": "^7.4.5",
"vite-plugin-vue-layouts": "^0.11.0",
"vite-plugin-pages": "^0.32.0",
"vitest": "^0.33.0",
"vue-tsc": "^1.8.27"
},
Expand Down
1 change: 0 additions & 1 deletion src/layouts/auth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ watch(() => notificationsStore.messages, (newVal: ToastNotification[], oldVal: T
closable: !lastMessage.permanent,
})
}, { deep: true })
</script>

<template>
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { setupLayouts } from 'virtual:generated-layouts'
import generatedRoutes from 'virtual:generated-pages'
import { createRouter, createWebHistory } from 'vue-router'

// import { routes } from 'vue-router/auto-routes'
import type { AppModule } from './types'
import App from './App.vue'
Expand Down Expand Up @@ -29,7 +30,7 @@ async function enableMocking() {
const routes = setupLayouts(generatedRoutes)
const router = createRouter({
history: createWebHistory(),
routes
routes,
})

// TODO: try to use Vitessg instead of ClientSide vue app
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import VueMacros from 'unplugin-vue-macros/vite'
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
import { partytownVite } from '@builder.io/partytown/utils'
import { VueRouterAutoImports } from 'unplugin-vue-router'
// import VueRouter from 'unplugin-vue-router/vite'
import Pages from 'vite-plugin-pages'

export default defineConfig({
server: {
port: 7000,
Expand Down Expand Up @@ -52,7 +52,7 @@ export default defineConfig({
Layouts({
layoutsDirs: 'src/layouts',
pagesDirs: 'src/pages',
defaultLayout: 'default'
defaultLayout: 'default',
}),

// https://github.com/antfu/unplugin-auto-import
Expand Down

0 comments on commit e871213

Please sign in to comment.