@nanopiniated/vue
v0.0.1
Published
Vue 3 integration for nanopiniated
Downloads
2
Maintainers
Readme
@nanopiniated/vue
Vue integration for nanopiniated.
Getting started
Install package:
# npm
npm install @nanopiniated/vue
# yarn
yarn add @nanopiniated/vue
# pnpm
pnpm install @nanopiniated/vue
Import:
// ESM
import { createUseStore } from "@nanopiniated/vue";
// CommonJS
const { createUseStore } = require("@nanopiniated/vue");
Usage
import { createStore } from "nanopiniated"
import { createUseStore } from "@nanopiniated/vue"
export const store = createStore(...)
export const useAppStore = createUseStore(store.$store)
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run
pnpm build:all
- Test changes in
./playground
License
Made with ❤️ by Florian Lefebvre.
Published under MIT License.