The goal of this section is to explain how to validate your customization in local before publishing on production.
It can help if:
nuxt.schema.ts file and generate the appropriate interface on Studio.export default defineNuxtConfig({
content: {
preview: {
// force module initialization on dev env
dev: true
}
}
})
--tunnel to expose it to the internetnpx nuxt dev --tunnel

__preview.json file should accessible from https://your-localtunnel-url/__preview.json
nuxt.config.ts file or any changes in a Vue file require a restart of the Nuxt dev server. Once the server has restarted you can synchronize the Studio interface by calling the Sync meta action from command menu K . A refresh of the Studio app should also apply the update.