mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(docs): better indentation on extendPages
example
This commit is contained in:
parent
54b2cc7e67
commit
20cec3fe93
@ -1151,6 +1151,7 @@ import { createResolver, defineNuxtModule, extendPages } from '@nuxt/kit'
|
|||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
setup(options) {
|
setup(options) {
|
||||||
const resolver = createResolver(import.meta.url)
|
const resolver = createResolver(import.meta.url)
|
||||||
|
|
||||||
extendPages((pages) => {
|
extendPages((pages) => {
|
||||||
pages.unshift({
|
pages.unshift({
|
||||||
name: 'prismic-preview',
|
name: 'prismic-preview',
|
||||||
|
Loading…
Reference in New Issue
Block a user