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

7 lines
148 B
JavaScript
Raw Normal View History

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