@evolve-legal/shared-components

1.0.2 • Public • Published

rolf-shared-components

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Create a release

yarn build commit all the files in dist/ git tag -a 0.1.1 -m "release" git push --tags origin

Adding an App to the Switcher

SubscriptionsMenu.vue

  • Add app to list in HTML
    • Add the app name used in the app prop to the class binding
    • Point @click to new method to navigate to app
    • Point v-if to a new method to detect if app is in cognito pool
    • Make sure the correct icon SVG file is added to the project
  • Create a new method to detect the cognito pool code for the app return this.subscriptions().includes('APPCODE')
  • Creat a new method to navigate to the app's login
  • Update CSS to include .bar.{APP-NAME} and a background color

Header.vue

  • Update the home-link section of the HTML to include conditions for the new app prop value
  • add a css class for .grid.{APP-NAME} with a fill value
  • add a css class for .user-initials.{APP-NAME} with a background-color
  • add a css class for .open-circle.{APP-NAME} with a background-color

Readme

Keywords

none

Package Sidebar

Install

npm i @evolve-legal/shared-components

Weekly Downloads

1

Version

1.0.2

License

none

Unpacked Size

1.31 MB

Total Files

45

Last publish

Collaborators

  • icedlee337
  • trombetto