@unpress/nuxt-server

Write local file in dev mode from frontend with nuxt-content
2,147
Install
npm install @unpress/nuxt-server
Latest Version:0.1.14-beta.2
Vue:3
License:MIT
Last Updated:Dec 8, 2025
Links: npm
Maintainer: manutopik

Unpress Nuxt Server

The missing Nuxt content v2 feature: write the local file in dev mode from the frontend. This module is only used in dev mode. You can deactivate it if you want.

Features

  • 🧩 Create a Nuxt server handler
  • 💾 Use unstorage http driver in frontend
  • 👐 Pair with Nuxt content storage (nitro)

Quick Setup

  1. Add @unpress/nuxt-server dependency to your project
# Using pnpm
pnpm add -D @unpress/nuxt-server

# Using yarn
yarn add --dev @unpress/nuxt-server

# Using npm
npm install --save-dev @unpress/nuxt-server
  1. Add @unpress/nuxt-server to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@unpress/nuxt-server'
  ]
})

That's it! You can now use @unpress/nuxt-server in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Related Packages

@unpress/nuxt-layer-pro

Create Nuxt extendable layer with this GitHub template.

2,229

Version History

Pre-releases (24)
Version Released Vue License
0.1.14-beta.2 ^3.0 MIT
0.1.14-beta.1 ^3.0 MIT
0.1.13-beta.8 ^3.0 MIT
0.1.13-beta.7 ^3.0 MIT
0.1.13-beta.6 ^3.0 MIT