chore: upgrade to Nuxt 3.0.0
This commit is contained in:
parent
1be050a543
commit
bab7691228
@ -1,17 +1,16 @@
|
||||
import { defineNuxtConfig } from 'nuxt'
|
||||
import { defineNuxtConfig } from 'nuxt/config'
|
||||
import fs from 'fs'
|
||||
const packageJson = fs.readFileSync('./package.json', 'utf-8')
|
||||
const version = JSON.parse(packageJson).version || 0
|
||||
|
||||
export default defineNuxtConfig({
|
||||
srcDir: 'src/',
|
||||
target: 'static',
|
||||
ssr: false,
|
||||
telemetry: false,
|
||||
buildModules: [
|
||||
modules: [
|
||||
'@pinia/nuxt'
|
||||
],
|
||||
publicRuntimeConfig: {
|
||||
runtimeConfig: {
|
||||
serverBaseUrl: '/',
|
||||
version,
|
||||
},
|
||||
|
@ -10,15 +10,15 @@
|
||||
"preview": "nuxt preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nuxt": "3.0.0-rc.8",
|
||||
"sass": "^1.54.0",
|
||||
"sass-loader": "^13.0.2",
|
||||
"typescript-strict-plugin": "^2.0.1"
|
||||
"nuxt": "^3.0.0",
|
||||
"sass": "^1.56.1",
|
||||
"sass-loader": "^13.2.0",
|
||||
"typescript-strict-plugin": "^2.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pinia/nuxt": "^0.3.1",
|
||||
"@pinia/nuxt": "^0.4.4",
|
||||
"build-url": "^6.0.1",
|
||||
"typescript": "^4.8.2",
|
||||
"vue-contenteditable": "^4.0.4"
|
||||
"typescript": "^4.9.3",
|
||||
"vue-contenteditable": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
2465
client/yarn.lock
2465
client/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user