v1.2.1
Patch release
Added the Vuert.js' module for Nuxt.js
To use it, simply install it as dependency in your Nuxt.js project...
npm install --save-dev @byloth/nuxt-vuert-module
... then add it in your nuxt.config.ts
file:
export default defineNuxtConfig({
/* [...] */
modules: [
/* [...] */
"@byloth/nuxt-vuert-module"
],
/* [...] */
})
You will be able to access the AlertHandler
component and the useVuert
composable without importing anything into your *.vue
file... Nuxt.js will imports that for you automatically.
Also, you will able to access the Vuert.js active instance by simply using the syntax:
const { $vuert } = useNuxtApp();