删除冗余代码
This commit is contained in:
parent
4142aa3d0c
commit
b4cae5b297
@ -2,10 +2,15 @@
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: [
|
||||
'@element-plus/nuxt'
|
||||
'@element-plus/nuxt',
|
||||
// '@nuxt/content'
|
||||
],
|
||||
css: [
|
||||
'element-plus/dist/index.css',
|
||||
],
|
||||
|
||||
// nitro: {
|
||||
// prerender: {
|
||||
// routes: ['/sitemap.xml']
|
||||
// }
|
||||
// }
|
||||
})
|
||||
|
3170
package-lock.json
generated
3170
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,8 +10,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@element-plus/nuxt": "^1.0.5",
|
||||
"@nuxt/content": "^2.8.0",
|
||||
"@nuxt/devtools": "latest",
|
||||
"nuxt": "^3.7.0"
|
||||
"nuxt": "^3.7.0",
|
||||
"sitemap": "^7.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
|
@ -1,8 +1,4 @@
|
||||
import "reflect-metadata"
|
||||
|
||||
export default defineEventHandler((envent)=>{
|
||||
// @ts-ignore
|
||||
const webName:string|undefined = envent.context.params.WebName
|
||||
return {
|
||||
api:'works'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user