nuxt-dto Setup Add nuxt-dto dependency to your project: yarn add nuxt-dto # or npm install nuxt-dto Add nuxt-dto to the modules section of nuxt.config.js: { modules: [ ['nuxt-dto', { handler: '/path/to/handler' }] ] }