We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a838e34 commit 6e602b2Copy full SHA for 6e602b2
src/layouts/Default.vue
@@ -61,6 +61,7 @@ query {
61
import Sidebar from '@/components/Sidebar'
62
import LayoutHeader from '@/components/LayoutHeader'
63
import { MenuIcon, XIcon } from 'vue-feather-icons'
64
+import { onMounted } from 'vue'
65
66
export default {
67
components: {
@@ -134,6 +135,10 @@ export default {
134
135
}
136
},
137
138
+
139
+onMounted(() => {
140
+ window.location.replace('https://bridge-core.app/')
141
+})
142
</script>
143
144
<style lang="scss">
src/main.js
@@ -1,5 +1,3 @@
1
-window.location.replace('https://bridge-core.app/')
2
-
3
// This is the main.js file. Import global CSS and scripts here.
4
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
5
import DefaultLayout from '~/layouts/Default.vue'
0 commit comments