Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 2.05 KB

File metadata and controls

41 lines (24 loc) · 2.05 KB

FAQ

How to contribute or give feedback

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.

Why a mono repository?

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.

How can I solve dependency issues?

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.

Where do I import / register my Web Component for the Data Browser application?

You can import and register your Web Component globally in the web-component.import.ts file.

How to pass data to Web Components from Vue?

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>