chore: upgrade to nuxt v3.2.0 (#1695)
This commit is contained in:
parent
73dc060578
commit
efaeb67261
8 changed files with 530 additions and 420 deletions
|
@ -1,7 +1,5 @@
|
|||
// @ts-expect-error unstorage needs to provide backwards-compatible subpath types
|
||||
import _fs from 'unstorage/drivers/fs'
|
||||
// @ts-expect-error unstorage needs to provide backwards-compatible subpath types
|
||||
import _memory from 'unstorage/drivers/memory'
|
||||
import fs from 'unstorage/drivers/fs'
|
||||
import memory from 'unstorage/drivers/memory'
|
||||
|
||||
import { stringifyQuery } from 'ufo'
|
||||
|
||||
|
@ -19,9 +17,6 @@ import { driver } from '#storage-config'
|
|||
import type { AppInfo } from '~/types'
|
||||
import { APP_NAME } from '~/constants'
|
||||
|
||||
const fs = _fs as typeof import('unstorage/dist/drivers/fs')['default']
|
||||
const memory = _memory as typeof import('unstorage/dist/drivers/memory')['default']
|
||||
|
||||
const storage = useStorage() as Storage
|
||||
|
||||
if (driver === 'fs') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue