Remove all client-side JS from your Nuxt 3 app
undefined⚠️ nuxt-zero-js is under active development. ⚠️undefined
<script> tag for payload and JS bundleFollow this issue for more information, and do comment if you’d like to see this feature in Nuxt itself.
export default defineNuxtConfig({
modules: ['nuxt-zero-js'],
//
// By default the module is disabled in development for better
// DX but you can force it to be enabled if you would like.
//
// zeroJs: {
// disabled: false,
// },
That’s it!
corepack enable (use npm i -g corepack for Node.js < 16.10)pnpm installpnpm dev:preparepnpm dev to start playground in development modeMade with ❤️
Published under the MIT License.