mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
examples: upgrade and fix typescript configuration files (#5310)
This commit is contained in:
parent
db200a3e69
commit
7100a2c6bc
@ -1,4 +1,6 @@
|
||||
export default {
|
||||
import NuxtConfiguration from '@nuxt/config'
|
||||
|
||||
const config: NuxtConfiguration = {
|
||||
hooks: {
|
||||
listen () {
|
||||
if (process.send) {
|
||||
@ -7,3 +9,5 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default config
|
||||
|
@ -1 +1,5 @@
|
||||
export default {}
|
||||
import NuxtConfiguration from '@nuxt/config'
|
||||
|
||||
const config: NuxtConfiguration = {}
|
||||
|
||||
export default config
|
||||
|
@ -1,4 +1,6 @@
|
||||
export default {
|
||||
import NuxtConfiguration from '@nuxt/config'
|
||||
|
||||
const config: NuxtConfiguration = {
|
||||
build: {
|
||||
loaders: {
|
||||
vueStyle: {
|
||||
@ -12,3 +14,5 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default config
|
||||
|
@ -1,4 +1,4 @@
|
||||
import NuxtConfiguration from '@nuxt/config-edge'
|
||||
import NuxtConfiguration from '@nuxt/config'
|
||||
|
||||
const config: NuxtConfiguration = {
|
||||
head: {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import NuxtConfiguration from '@nuxt/config-edge'
|
||||
import NuxtConfiguration from '@nuxt/config'
|
||||
|
||||
const config: NuxtConfiguration = {
|
||||
plugins: ['~/plugins/hello']
|
||||
|
Loading…
Reference in New Issue
Block a user