@starport/vue

A library of Vue 3 components for building frontends for cosmos-sdk chains
7,001
Install
npm install @starport/vue
Latest Version:0.3.10
Vue:3
License:Apache-2.0
Last Updated:Sep 8, 2022
Links: npm
Maintainer: clockworkgr

@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

...

Version History

Version Released Vue License
0.3.10 ^3.2.6 Apache-2.0
0.3.9 ^3.2.6 Apache-2.0
0.3.8 ^3.2.6 Apache-2.0
0.3.7 ^3.2.6 Apache-2.0
0.3.6 ^3.2.6 Apache-2.0
Pre-releases (110)
Version Released Vue License
0.4.2-alpha-5c903fd2c09b27290c1151b5bdd4f96c719ae8a2.0 3.2.31 Apache-2.0
0.4.1-alpha 3.2.31 Apache-2.0
0.4.0-alpha-5e98d980fe16835abba3a376ac2c6b98e59b0d6d.0 3.2.31 Apache-2.0
0.4.0-alpha 3.2.31 Apache-2.0
0.3.6-alpha-f2938370abe2a3085f473d65a47743fb46615755.0 ^3.2.6 Apache-2.0