1.0.2 • Published 3 years ago
@evolve-legal/shared-components v1.0.2
rolf-shared-components
Project setup
yarn installCompiles and hot-reloads for development
yarn serveCompiles and minifies for production
yarn buildLints and fixes files
yarn lintCustomize configuration
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
@clickto 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-linksection 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