nuxt-inline-scripts

Enable/Disable inlineScripts for Nuxt3
3,436 1
Install
npm install nuxt-inline-scripts
Latest Version:1.0.13
Vue:3
License:MIT
Last Updated:Mar 19, 2025
Links: GitHub  ·  npm
Maintainer: duanjl

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,
        // // where inline scripts generate 
        // output: '.output/public/_nuxt',
        // // cdn url
        // cdnURL: string,
    },
    modules: ['nuxt-inline-scripts']
}

API

inlineScripts

disable

Type: boolean

output

Type: string

cdnURL

Type: string

Related Packages

nuxt3-vuex-module

Vuex support for Nuxt 3

165,911 26
@nathanchase/nuxt-dayjs-module

This is a Nuxt 3 compatible module built with the official Nuxt 3 (module-builde...

19,376 31
@manusanchev/vue3-clickaway

Vue 3 directive to detect clickaway events

16,020
nuxt3-tiktok-pixel

TikTok pixel module modeled after the Facebook pixel module

1,988 0
cap-socket

Functions developed by Cap to establish real-time and persistent communication w...

968

Version History

Version Released Vue License
1.0.13 ^3.0 MIT
1.0.12 ^3.0 MIT
1.0.11 ^3.0 MIT
1.0.10 ^3.0 MIT
1.0.9 ^3.0 MIT