Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@iusca/vue-components

IUSCA22SEE LICENSE IN LICENSE.md0.1.8

Provides a standardized look and feel for components used in SCA Vue-based projects that can be updated across the board and can be customized for individual projects.

readme

IUSCA vue-components

Provides a standardized look and feel for components used in SCA Vue-based projects that can be updated across the board and can be customized for individual projects.

npm installation

yarn add @iusca/vue-components

or

npm install @iusca/vue-components --save

usage

In main.js of your Vue project:

import '@iusca/vue-components';

In App.vue of your Vue project:

 <ScaHeader :auth="auth">
      <template v-slot:site-title>
        <h3>SCA Project Title <small class="text-danger">sub-title</small></h3>
      </template>
 </ScaHeader>
 ...
 <ScaFooter></ScaFooter>

Components:

ScaHeader

  • Properties
    • auth - Object with uid and role properties
  • Slots (used to customize appearance)
    • site-title
    • greeting
    • log-in-out

ScaFooter

  • Properties
    • None
  • Slots
    • None

ContactForm (used by ScaHeader)

  • Properties
    • None
  • Slots
    • None

Project setup

yarn install

Compiles and minifies for production

yarn run build-bundle

Lints and fixes files

yarn run lint