vue-reource-manager

Manage asynchronous calls more easily in Vue apps.


Keywords
vue, suspense, suspend, async
License
MIT
Install
npm install vue-reource-manager@0.1.0

Documentation

vue-async-manager

build status License Commitizen friendly

Manage asynchronous calls more easily in Vue apps.

Intro

vue-async-manager can help you manage asynchronous calls more easily in Vue applications, including:

  • Load asynchronous components
  • Fetch data from the API

If you are familiar with React Suspense, then vue-async-manager provides an <Suspense> component with the same name to do the same thing, and does an extra functional design for this.

In addition, vue-async-manager also provides a resource manager to help you manage asynchronous API requests more easily.

Next you can check out the Guide to get started quickly, or check out API. At the same time, we provide a number of Live Demos to help you understand vue-async-manager.

Installation

yarn add vue-async-manager

Or use npm:

npm install vue-async-manager --save

Usage

import Vue from "vue"
import VueAsyncManager from "vue-async-manager"

Vue.use(VueAsyncManager, options)