ujjwalguptaofficial / mahal-store

Store module for mahal framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSNFT npm version TEST

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/

About

Store module for mahal framework

License:Apache License 2.0


Languages

Language:TypeScript 84.4%Language:JavaScript 15.0%Language:HTML 0.7%