@techmely/nuxt-pinia-persist
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

Nuxt partytown

npm version npm downloads License Nuxt

My new Nuxt module for doing amazing things.

Features

  • Lightweight - Just only import partytown lib
  • Integrate with Partytown easy on Nuxt 3! Just need to focus on configs partytown

Quick Setup

  1. Add @techmely/nuxt-pinia-persist dependency to your project
# Using pnpm
pnpm add -D @techmely/nuxt-pinia-persist

# Using yarn
yarn add --dev @techmely/nuxt-pinia-persist

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

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Copy public/partytown from this folder --> Playground
mkdir -p modules/nuxt-pinia-persist/playground/public/partytown
cp -R modules/nuxt-pinia-persist/public/partytown modules/nuxt-pinia-persist/playground/public/partytown

# 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

Readme

Keywords

none

Package Sidebar

Install

npm i @techmely/nuxt-pinia-persist

Weekly Downloads

3

Version

1.0.14

License

MIT

Unpacked Size

3.42 kB

Total Files

2

Last publish

Collaborators

  • thaycacac
  • nhattq.coding
  • hieuhani