0👍
You can add custom script in nuxt.config.js
file, and add in head
section like below:
/*
** Headers of the page
*/
head: {
script: [
{ src: 'https://cdn.jsdelivr.net/npm/vue/dist/vue.js', async: true, defer: true }
],
},
- [Vuejs]-Using an if condition inside a V-For Loop in Vue JS
- [Vuejs]-Vue: Importing SCSS only if a component gets created
Source:stackexchange.com