Nuxt/test/fixtures/module/modules/layout/index.js

7 lines
147 B
JavaScript

import { resolve } from 'path'
export default function module() {
this.addLayout(
{ src: resolve(__dirname, 'some-error.vue') }, 'error')
}