@evan.network/ui-vue-core
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

ui-vue-core

The ui-vue-core for evan.network includes specific vue components, helper functions and utilities. By using the vue initialization helper functions, it's very easy to setup a vue application including everything:

Installation

npm i @evan.network/ui-vue-core

Usage

The vue-core.ts is the main entry point for all vue applications. For a detailed usage explanation have a look at the evannnetwork wiki.

import Vue from 'vue';
import { initializeVue } from '@evan.network/ui-vue-core';

import Main from './components/root/root.vue';
import translations from './i18n/translations';
import routes from './routes';
import components from './components/registry';

export async function startDApp(container: any, dbcpName: any, dappEnsOrContract: any, dappBaseUrl: any) {
  await initializeVue({
    components,
    container,
    dappBaseUrl,
    dappEnsOrContract,
    dbcpName,
    RootComponent: Main,
    routes,
    state: { },
    translations: translations,
    Vue: Vue,
  });
}

HTML Selectors for tests

dapp-wrapper

  • #dapp-home

  • #dapp-digitaltwins

  • #dapp-favorites

  • #dapp-addressbook

  • #dapp-mailbox

  • #dapp-faq

  • #dapp-documentation

  • #toggle-sidebar

  • #dropdown-mailbox

    • #dapp-mailbox
    • #dropdown-mailbox-${ index }
  • #dropdown-queue

    • #dropdown-queue-${ index }
  • #dropdown-profile

    • #dapp-contacts
    • #dapp-favorites
    • #dapp-mailbox
    • #dapp-profile
    • #logout

Breadcrumbs

  • #breadcrumb-goback

Modals

  • #modal-cancel

evan-file-input

  • #file-input-remove-modal
    • #file-input-remove-accept
    • Modals
  • #file-input-remove
  • #file-input-download-${ index }
  • #file-input-upload

Package Sidebar

Install

npm i @evan.network/ui-vue-core

Weekly Downloads

0

Version

2.1.0

License

none

Unpacked Size

1.34 MB

Total Files

270

Last publish

Collaborators

  • vineetpant
  • tschuck
  • wulfraem
  • s3bb1