@nanopiniated/vue
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@nanopiniated/vue

npm version npm downloads bundle

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.

Package Sidebar

Install

npm i @nanopiniated/vue

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.5 kB

Total Files

9

Last publish

Collaborators

  • florian-lefebvre