The rd-components
library is a collection of Vue components for use in building custom Vue applications for use in Molgenis databases. The aim of this library is to speed up the development process and to standardize vue applications across a number of Molgenis instances.
rd-ui-components
librarycd rd-components
yarn build
yarn workspace <child-workspace> add rd-components@<version>
Create a new Vue application in the apps/
folder and follow the prompts. Make sure you enable view router.
yarn create vite
Note: When naming projects, avoid using 'app' in the name. In Molgenis, the prefix 'app' is automatically added so apps will appear as 'app-app-*'.
package.json
filevite.config.js
and update the devProxyyarn workspace <subworkspace> add rd-components@<version>
In another child workspace, create a new footer component.
cd <child-workspace>
touch src/components/CustomFooter.vue