@alicloud/console-os-vue-portal

Console OS Vue Portal

Usage no npm install needed!

<script type="module">
  import alicloudConsoleOsVuePortal from 'https://cdn.skypack.dev/@alicloud/console-os-vue-portal';
</script>

README

Console OS Vue Portal

Basic Use

Replace the new Vue(/*options*/) to mount(/*options*/) function in @alicloud/console-os-vue-portal. and export the return value of the mount.

import { mount } from '@alicloud/console-os-vue-portal';
import App from './App.vue'

// export the return
export default mount({
    el: '#app',
    i18n,
    router,
    store,
    render: h => h(App),
    created() {}
})

Build

add the vue-cli-plugin-os to the dev dependencies.

> npm install vue-cli-plugin-os -D
# or
> yarn add vue-cli-plugin-os -D