diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 896312f044e..cf323728630 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -1,3 +1,9 @@ export default defineNuxtConfig({ - + app: { + head: { + script: [ + { src: '/script.js', async: true } + ] + } + } }) diff --git a/playground/public/script.js b/playground/public/script.js new file mode 100644 index 00000000000..f7f93a0fc0e --- /dev/null +++ b/playground/public/script.js @@ -0,0 +1 @@ +console.log('Hello script')