To run the application in fully accessible development mode, you need to run an instance of a mock OIDC server. You can spin up a preconfigured instance with the following command:
cd oidc_mock && docker-compose up -d
Then, to run the application with the correct settings, proceed as follows:
It is recommended to use Yarn as the package manager because some legacy packages (or packages that have not been updated for a few years) specify a peer dependency that conflicts with packages you may want to install.
To set up the project, you can use either Yarn or npm:
# Using Yarn
yarn install
# Using npm
npm install
To compile and hot-reload the application for development:
# Using Yarn
yarn dev
# Using npm
npm run dev
To compile and minify the application for production:
# Using Yarn
yarn build
# Using npm
npm run build
Lint with ESLint
To lint the codebase with ESLint:
# Using Yarn
yarn lint
# Using npm
npm run lint
Run e2e tests with Cypress
yarn cypress run --browser chrome
For more test scripts see package.json
See the Configuration Reference for more details on how to customize the configuration.
The theme configuration file is located at:
src/config/theme.js
-
activeThemeFile - Defines the active SCSS theme file.
Default value:
activeThemeFile: "bbmri"
The theme SCSS files are located at:
src/assets/scss/ ├── theme-bbmri.scss ├── theme-eucaim.scss └── theme-canServ.scss
You can modify the values of the color variables in these files as needed.
-
activeLogosFiles - Defines the active logo files.
Default value:
activeLogosFiles: "bbmri"
The logo files are located at:
src/assets/images/ ├── bbmri/ │ ├── footer-bbmri.svg │ ├── home-bbmri.png │ └── nav-bar-bbmri.svg ├── canserv/ │ ├── footer-canserv.png │ ├── home-canserv.png │ └── nav-bar-canserv.png └── eucaim/ ├── footer-eucaim.png ├── home-eucaim.png └── nav-bar-eucaim.png
If you want to change an image, replace the existing one with a new one of the same name, file type, and size.
-
isFooterFollowUsVisible - Controls the visibility of items in the footer (e.g., Follow Us, Subscribe To Our Newsletter).
Default value:
isFooterFollowUsVisible: true
Additional footer configuration details can be found in the Footer Configuration document.
The Matomo configuration file is located at:
src/config/matomo.js
matomoHost: "MATOMO_HOST_PLACEHOLDER",
matomoId: "MATOMO_SITE_ID_PLACEHOLDER"
For more details, see the Matomo Configuration Reference.
The feature flags configuration file is located at:
src/config/featureFlags.js
You can adjust the visibility of features, components, or code that is ready for testing but not intended for release by using feature flags.
The external links configuration file is located at:
src/config/externalLinks.js
You can set the URLs that external links lead to in this file.
The OIDC configuration file is located at:
src/config/oidc.js
This library provides OpenID Connect (OIDC) and OAuth2 protocol support for client-side, browser-based JavaScript client applications. It also includes support for user session and access token management.
See [Configuration Reference](https://github.com/perarnborg/vuex-oidc/wiki, https://github.com/zhazhazhu/pinia-oidc).