# Introduction
Typescript
support since 1.0.20
Vue-APICloud-Quickstart consists of two parts:
The first part is
ready.plugin
, which mainly solves the API problems, such asapi
,apiready
does not exist in PC browser. Using Vue mixin to register a new life cycleonReady
to the Vue instance,onReady
will execute aftermounted
, and ensure that apiready has been executed; registeringapiEvent
to the Vue instance, which can quickly realize the listening of native events.The other part is
help.plugin
, which provides us with some common helper methods and mounts them on the Vue instance, which is convenient for us to call. For example,this.$page.push({ Name: 'pagename' })
can be used directly for page Jump.
# How It Works
In fact, Vue-APICloud-Quickstart is based on w-xuefeng/vue-cli-plugin-apicloud (opens new window). With the help of Vue CLI
to modify the entry of webpack, as well as some other configurations, the file directory structure needed to develop a multi page application and build it into an apicloud platform using Vue is realized.