From 6a0793ab4caf85c2c6cfb7b6a935dee5726112f6 Mon Sep 17 00:00:00 2001 From: Justin Poiroux Date: Wed, 23 Oct 2019 15:08:13 -0400 Subject: [PATCH 1/3] Added docs for Vuex usage --- README.md | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 74685c7..95a93f6 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,19 @@ # vue-progressbar # Table of Contents -* [___Demo___](#demo) -* [___Requirements___](#requirements) -* [___Installation___](#installation) -* [___Usage___](#usage) - * [___Constructor Options___](#constructor-options) - * [___Implementation___](#implementation) - * [___vue-router___](#vue-router) - * [___meta options___](#vue--router-meta-options) -* [___Methods___](#methods) -* [___Examples___](#examples) -* [___License___](#license) +- [vue-progressbar](#vue-progressbar) +- [Table of Contents](#table-of-contents) +- [Demo](#demo) +- [Requirements](#requirements) +- [Installation](#installation) +- [Usage](#usage) + - [Constructor Options](#constructor-options) + - [Implementation](#implementation) + - [vue-router](#vue-router) + - [vue-router meta options](#vue-router-meta-options) +- [Methods](#methods) +- [Examples](#examples) +- [License](#license) # Demo [___Demo___](http://hilongjw.github.io/vue-progressbar/index.html) @@ -221,7 +223,16 @@ instance.interceptors.response.use(response => { export default instance; // export axios instance to be imported in your app ``` +--- +Accessing the progress bar externally through the vue store +``` +/* + * More commonly better practice to use Axios Interceptors + * For the edge cases, access the Vue instance through *_vm* +*/ +this._vm.#Progress.start() +``` # License From f122a8e5f6f9a4615aad17b938a9ae7aa8279d01 Mon Sep 17 00:00:00 2001 From: Justin Poiroux Date: Wed, 23 Oct 2019 15:08:49 -0400 Subject: [PATCH 2/3] comment change --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 95a93f6..75caa93 100644 --- a/README.md +++ b/README.md @@ -227,10 +227,10 @@ export default instance; // export axios instance to be imported in your app Accessing the progress bar externally through the vue store ``` -/* - * More commonly better practice to use Axios Interceptors - * For the edge cases, access the Vue instance through *_vm* -*/ + +// More commonly better practice to use Axios Interceptors +// For the edge cases, access the Vue instance through *_vm* + this._vm.#Progress.start() ``` From 24ae7e4620f6a124aa2aa2ef768cdec3ec5efa7f Mon Sep 17 00:00:00 2001 From: Justin Poiroux Date: Wed, 23 Oct 2019 15:09:11 -0400 Subject: [PATCH 3/3] Used # instead of $ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75caa93..d18dc21 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ Accessing the progress bar externally through the vue store // More commonly better practice to use Axios Interceptors // For the edge cases, access the Vue instance through *_vm* -this._vm.#Progress.start() +this._vm.$Progress.start() ``` # License