Dante-dan / nuxt-inline-scripts

Enable/Disable inlineScripts for Nuxt3
MIT License
1 stars 0 forks source link
nuxt-inline-scripts

nuxt-inline-scripts

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

Replace Nuxt3 Inline Script by Script Link

Install

npm install nuxt-inline-scripts -S

# pnpm
pnpm add nuxt-inline-scripts -S

Usage


// nuxt.config.ts
{
    // @ts-ignore
    inlineScripts: {
        disable: true,
    },
    modules: ['nuxt-inline-scripts']
}

API

inlineScripts

disable

Type: boolean