Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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>
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to disable react in jsx scope eslint 
Javascript :: jquery on type event 
Javascript :: convert milliseconds to minutes and seconds javascript 
Javascript :: js fizzbuzz 
Javascript :: read csv file in javascript 
Javascript :: chartjs stacked bar show total 
Javascript :: how to always run validators mongoose 
Javascript :: vue.js cdn script 
Javascript :: drawer navigation set width react native 
Javascript :: jwt token expire times 
Javascript :: load script defer 
Javascript :: java password regex 
Javascript :: newtonsoft.json string to object 
Javascript :: repeat string n times javascript 
Javascript :: express get client ip 
Javascript :: string replace javascript 
Javascript :: react cdn 
Javascript :: angular get first element ngfor 
Javascript :: js window active 
Javascript :: node es6 import 
Javascript :: get child routes using parent in angular 
Javascript :: angular input value 
Javascript :: regex any char except 
Javascript :: js sort array of objects 
Javascript :: react native get mac address 
Javascript :: jquery change text 
Javascript :: remove specific property from json object javascript 
Javascript :: jquery array 
Javascript :: how to check if item is in list js 
Javascript :: Import file to mongodb database 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =