Skip to content

Commit

Permalink
chore(package.json): update @vuetify/one to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Mar 7, 2024
1 parent eb75c42 commit 150ad16
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@cosmicjs/sdk": "^1.0.11",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4",
"@vuetify/one": "^1.0.16",
"@vuetify/one": "^1.1.1",
"algoliasearch": "^4.20.0",
"fflate": "^0.8.1",
"isomorphic-fetch": "^3.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/docs/src/layouts/home.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<v-app>
<AppBanner />
<VoNotificationsBanner />

<VoAuthDialog />

<AppSettingsDrawer />

Expand Down
9 changes: 8 additions & 1 deletion packages/docs/src/plugins/pinia.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Imports
import { createPinia } from 'pinia'
import { one } from '@vuetify/one'
import { markRaw } from 'vue'

// Types
Expand All @@ -11,8 +12,14 @@ export const pinia = createPinia()
export function installPinia (app: App, router: Router) {
pinia.use(({ store }) => {
store.router = markRaw(router)
store.url = import.meta.env.VITE_API_SERVER_URL
})

pinia.use(
one(
['docs', 'home'],
import.meta.env.VITE_API_SERVER_URL,
)
)

app.use(pinia)
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3949,10 +3949,10 @@
find-cache-dir "^3.3.2"
upath "^2.0.1"

"@vuetify/one@^1.0.16":
version "1.0.16"
resolved "https://registry.yarnpkg.com/@vuetify/one/-/one-1.0.16.tgz#f46e8c0d0676e6ee3fd60583638dbbcc2c8b4158"
integrity sha512-0XjxNyxYbiaPsIZJSSj0xKz+/ujWu+bsxd7+6san2PcB+7C3FSXaYoD4pNH9WcIjhn4hUlY0xMa7utZtrRDwFg==
"@vuetify/one@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@vuetify/one/-/one-1.1.1.tgz#938fa96bfa9329cf326a45d2ec03f22b317b23fc"
integrity sha512-Q9XgP+eqfImVHHucREycGgzaOk4R3m5l6wMPBsEcv5XXhzkhncILm/KMhel/5sYRn9MfBNpyg17s7NeciixTRg==

"@vueuse/head@^1.3.1":
version "1.3.1"
Expand Down

0 comments on commit 150ad16

Please sign in to comment.