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

7 lines
181 B
JavaScript
Raw Normal View History

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