1.0.1 • Published 2 years ago
@vue3-noti/nuxt v1.0.1
@vue3-noti/nuxt
Nuxt3 Toast with Composition API
Quick Setup
- Add
@vue3-noti/nuxtdependency 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/nuxtto themodulessection 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:build1.0.1
2 years 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