Answers for "Nuxt JS Adding script tag to particular page"

0

Nuxt JS Adding script tag to particular page

<template>
  <h1>This is about page</h1>
</template>

<script>
  export default {
    head() {
      return {
        script: [
          {
            src: 'https://code.jquery.com/jquery-3.5.1.min.js'
          }
        ],
      }
    }
  }
</script>

<style scoped>
</style>
Posted by: Guest on September-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language