vuex

🗃️ Centralized State management for non Vue.js applications such as React, ReactJS, React Native


Project maintained by visitsb Hosted on GitHub Pages — Theme by mattgraham

Installation

To avoid publishing under a new name, this package is published as a GitHub package.

This means that you will need to have a GitHub account in order to install package.

Prerequisites

# Login to GitHub.
# Replace USERNAME with your GitHub username, 
# TOKEN with your personal access token, and 
# PUBLIC-EMAIL-ADDRESS with your email address.
$ npm login --scope=@USERNAME --registry=https://npm.pkg.github.com

> Username: USERNAME
> Password: TOKEN
> Email: PUBLIC-EMAIL-ADDRESS

# Create .npmrc in same location as your package.json to install packages
$ echo '@visitsb:registry=https://npm.pkg.github.com' >> .npmrc

NPM

$ npm install @visitsb/vuex --save

Yarn

$ yarn add @visitsb/vuex --save

Back