Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd40244

Browse filesBrowse files
committed
upgrade(3.0.0) upgrade to stable realase
1 parent e2c3bfd commit bd40244
Copy full SHA for bd40244

File tree

Expand file treeCollapse file tree

9 files changed

+783
-1675
lines changed
Filter options
Expand file treeCollapse file tree

9 files changed

+783
-1675
lines changed

‎.fleet/run.json

Copy file name to clipboardExpand all lines: .fleet/run.json
-5Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.fleet/settings.json

Copy file name to clipboardExpand all lines: .fleet/settings.json
-3Lines changed: 0 additions & 3 deletions
This file was deleted.

‎app.vue

Copy file name to clipboardExpand all lines: app.vue
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ nuxtApp.hook("page:finish", () => {
77
window.scrollTo(0, 0)
88
})
99
10-
onBeforeMount(() => {
11-
useHead({script:[{"src": "http://localhost:3000/scripts/nuxt-nation.js"}]})
12-
})
13-
1410
await useUser()
1511
</script>
1612
<template>

‎components/layout/navbar.vue

Copy file name to clipboardExpand all lines: components/layout/navbar.vue
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { userLogout } from "~/composables/useAuth";
44
const showSideDrawer = ref(false)
55
const logout = userLogout
66
const router = useRouter()
7+
const colorMode = useColorMode()
78
89
const user = useState('user')
910
const initalCheck = await useLoggedIn()
@@ -14,7 +15,7 @@ router.afterEach(() => {
1415
})
1516
1617
const setColorTheme = (newTheme: Theme) => {
17-
useColorMode().preference = newTheme
18+
colorMode.preference = newTheme
1819
}
1920
2021
async function checkIfLoggedIn() {

‎layouts/default.vue

Copy file name to clipboardExpand all lines: layouts/default.vue
-16Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@ import TheFooter from "~~/components/layout/TheFooter.vue";
55

66
<template>
77
<div class="dark:bg-black">
8-
<a id="bb-banner" target="_blank" href="https://nuxtnation.com?friend=nuxt&amp;utm_source=nuxt&amp;utm_medium=website&amp;utm_campaign=affiliate&amp;utm_content=top_banner" class="JOIN_NUXT_NATION">
9-
<div class="bb-background"></div>
10-
<div class="bb-logo"></div>
11-
<div class="bb-core">
12-
<div class="bb-slogan">
13-
<div class="bb-title">Join the Largest Online Nuxt Event</div>
14-
<div class="bb-subtitle">16th &amp; 17th November 2022</div>
15-
</div>
16-
17-
<div class="bb-button-wrapper">
18-
<div class="bb-button">Join for Free</div>
19-
</div>
20-
</div>
21-
<div id="bb-close" class="bb-close">×</div>
22-
</a>
23-
248
<Navbar/>
259
<slot/>
2610
<TheFooter/>

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@nuxt/content": "^2.2.1",
1818
"@nuxt/postcss8": "^1.1.3",
19-
"@nuxt/test-utils-edge": "^3.0.0-rc.13-27777092.59d8c51",
19+
"@nuxt/test-utils-edge": "^3.0.0",
2020
"@nuxtjs/color-mode": "^3.1.8",
2121
"@nuxtjs/tailwindcss": "^6.1.3",
2222

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.