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'
|
import fs from 'fs'
|
||||||
const packageJson = fs.readFileSync('./package.json', 'utf-8')
|
const packageJson = fs.readFileSync('./package.json', 'utf-8')
|
||||||
const version = JSON.parse(packageJson).version || 0
|
const version = JSON.parse(packageJson).version || 0
|
||||||
|
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
srcDir: 'src/',
|
srcDir: 'src/',
|
||||||
target: 'static',
|
|
||||||
ssr: false,
|
ssr: false,
|
||||||
telemetry: false,
|
telemetry: false,
|
||||||
buildModules: [
|
modules: [
|
||||||
'@pinia/nuxt'
|
'@pinia/nuxt'
|
||||||
],
|
],
|
||||||
publicRuntimeConfig: {
|
runtimeConfig: {
|
||||||
serverBaseUrl: '/',
|
serverBaseUrl: '/',
|
||||||
version,
|
version,
|
||||||
},
|
},
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
"preview": "nuxt preview"
|
"preview": "nuxt preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"nuxt": "3.0.0-rc.8",
|
"nuxt": "^3.0.0",
|
||||||
"sass": "^1.54.0",
|
"sass": "^1.56.1",
|
||||||
"sass-loader": "^13.0.2",
|
"sass-loader": "^13.2.0",
|
||||||
"typescript-strict-plugin": "^2.0.1"
|
"typescript-strict-plugin": "^2.1.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pinia/nuxt": "^0.3.1",
|
"@pinia/nuxt": "^0.4.4",
|
||||||
"build-url": "^6.0.1",
|
"build-url": "^6.0.1",
|
||||||
"typescript": "^4.8.2",
|
"typescript": "^4.9.3",
|
||||||
"vue-contenteditable": "^4.0.4"
|
"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