Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions de/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ app.use(nuxt.render)
// Build only in dev mode
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions de/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
6 changes: 1 addition & 5 deletions en/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ app.use(nuxt.render)
// Build only in dev mode
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions en/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
4 changes: 0 additions & 4 deletions es/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ app.use(nuxt.render)
// Build only in dev mode
if (config.dev) {
nuxt.build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
Expand Down
4 changes: 0 additions & 4 deletions es/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ app.use(nuxt.render)
// Build only in dev mode with hot-reloading
if (config.dev) {
nuxt.build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
Expand Down
6 changes: 1 addition & 5 deletions fr/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ app.use(nuxt.render)
// Build seulement en mode dev
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Écouter le serveur
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions fr/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
6 changes: 1 addition & 5 deletions id/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ app.use(nuxt.render)
// Build only in dev mode
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions id/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
6 changes: 1 addition & 5 deletions ja/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ app.use(nuxt.render)
// 開発モードのときのみビルドする
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// サーバーを Listen する
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions ja/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
4 changes: 0 additions & 4 deletions ko/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ app.use(nuxt.render)
// 개발 모드에서만 사용되는 빌드입니다.
if (config.dev) {
nuxt.build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
Expand Down
4 changes: 0 additions & 4 deletions ko/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ app.use(nuxt.render)
// dev 모드를 위해 핫-로딩 빌드를 합니다.
if (config.dev) {
nuxt.build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// 서버
Expand Down
6 changes: 1 addition & 5 deletions pt-BR/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,11 @@ app.use(nuxt.render)
// Build only in dev mode
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// Listen the server
app.listen(port, '0.0.0.0').then(() => {
nuxt.showOpen()
console.log(`Server is listening on port: ${port}`)
})
```

Expand Down
4 changes: 0 additions & 4 deletions pt-BR/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ app.use(nuxt.render)
if (config.dev) {
new Builder(nuxt).build()
.then(listen)
.catch((error) => {
console.error(error)
process.exit(1)
})
}
else {
listen()
Expand Down
4 changes: 0 additions & 4 deletions zh/api/configuration-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ app.use(nuxt.render)
// 在开发模式下进行编译
if (config.dev) {
new Builder(nuxt).build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// 监听指定端口
Expand Down
4 changes: 0 additions & 4 deletions zh/api/nuxt-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ app.use(nuxt.render)
// 在开发模式下启用编译构建和热加载
if (config.dev) {
nuxt.build()
.catch((error) => {
console.error(error)
process.exit(1)
})
}

// 服务端监听
Expand Down