@starport/vue

0.3.10 • Public • Published

@starport/vue

A collection of Vue 3 components to help build Ignite CLI front-end applications.

Install

Assuming you have a Vue 3 project, just run:

npm install --save @starport/vue

The components also require @starport/vuex to be installed that is set as a peer dependency. For more information, see packages/vuex.

Usage

If you want to import the entire library, in your main.js file:

import { createApp } from 'vue'
import App from './App.vue'
import store from './store' // See @starport/vuex documentation
import vueLib from '@starport/vue'

const app = createApp(App)
app.use(store).use(vueLib).mount('#app')

You can also import only specific components in your main.js file:

import { createApp } from 'vue'
import App from './App.vue'
import store from './store' // See @starport/vuex documentation
import { SpTokenTransfer } from '@starport/vue'

const app = createApp(App)
app.use(store).use(SpTokenTransfer).mount('#app')

Components

...

Readme

Keywords

none

Package Sidebar

Install

npm i @starport/vue

Weekly Downloads

914

Version

0.3.10

License

Apache-2.0

Unpacked Size

253 kB

Total Files

102

Last publish

Collaborators

  • taylorc
  • clockworkgr