@mahaljs/store
v1.3.3
Published
Store module for mahal framework.
Downloads
2
Maintainers
Readme
mahal-store
Store module for mahal framework
Install
npm i @mahaljs/store
Setup
import { Mahal } from "mahal";
import Main from "@/components/main.mahal";
import MahalStore from "@mahaljs/store";
import store from "@/store";
export const app = new Mahal(Main, '#app');
// add mahal store as plugin
app.extend.plugin(MahalStore, store);
app.create();
Docs
https://mahaljs.com/docs/store/