We are very happy if you decide to contribute to the project or if you provide feedback. Please take a look at the Support and Contributing sections in README.md for information about how to do so.
You can find an introduction on how to start developing in the contribute-to-development file.
The reason to use a mono repository is to speed up initial development. In the future, the projects in the repository may be moved to their own repositories.
Why do I have to install node_modules in the referenced web-component projects before I can compile the Data Browser app?
Before you can compile the Data Browser app project, you need to install the dependencies of the referenced Web Components (see web-component).
The reason is, that the web-components need their dependencies to compile. They expect those dependencies in their own
node_modules
folder.
It is advised to invoke npm run bootstrap
in the repository root, because that in turn uses lerna
to take care of the dependencies.
If you have any dependencies issues, consider removing all node_modules
folders of all projects and try to invoke
npm run bootstrap
in the repository root.
You can import and register your Web Component globally in the web-component.import.ts file.
If you want to pass any data other than Strings to a Web Component, you must pass it as property. Vue provides a :name.prop
binding, where name
is the name of the property, and .prop
tells Vue to pass the data as property.
For example, if you want to pass the object currentUser
to the user
property of the my-user
Web Component:
<my-user :user.prop="currentUser"></my-user>