Nuxt/test/fixtures/deprecate/modules/hooks/index.js

7 lines
181 B
JavaScript

module.exports = function () {
// Note: Plugin is deprecated. Please use new hooks system.
this.nuxt.plugin('built', (builder) => {
this.nuxt.__builder_plugin = true
})
}