Spec-Zone.ru › Vuex 4

Installation

Direct Download / CDN

https://unpkg.com/vuex@4

Unpkg.com provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like https://unpkg.com/vuex@4.0.0/dist/vuex.global.js.

Include vuex after Vue and it will install itself automatically:

<script src="/path/to/vue.js"></script>
<script src="/path/to/vuex.js"></script>

NPM

npm install vuex@next --save

Yarn

yarn add vuex@next --save

Dev Build

You will have to clone directly from GitHub and build vuex yourself if you want to use the latest dev build.

git clone https://github.com/vuejs/vuex.git node_modules/vuex
cd node_modules/vuex
yarn
yarn build
Edit this page on GitHub

Last Updated:

What is Vuex?
Getting Started

© 2015–present Evan You
Licensed under the MIT License.
https://next.vuex.vuejs.org/installation.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API