1.0.1 • Published 1 year ago
@vue3-noti/nuxt v1.0.1
@vue3-noti/nuxt
Nuxt3 Toast with Composition API
Quick Setup
- Add
@vue3-noti/nuxt
dependency to your project
# Using pnpm
pnpm add -D @vue3-noti/nuxt
# Using yarn
yarn add --dev @vue3-noti/nuxt
# Using npm
npm install --save-dev @vue3-noti/nuxt
- Add
@vue3-noti/nuxt
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@vue3-noti/nuxt'
],
noti: {
message: 'Nuxt Module Demo',
type: 'warning',
// ...Other vue3-noti options
}
})
- Add
<Noti />
component to your app
<template>
<div>
<NuxtPage />
<Noti />
</div>
</template>
That's it! You can now use My Module in your Nuxt app ✨
Development
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
1.0.1
1 year ago
1.0.0-beta.6
2 years ago
1.0.0-beta.5
2 years ago
1.0.0-beta.4
2 years ago
1.0.0-beta.3
2 years ago
1.0.0-beta.2
2 years ago