Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added section for running from local dev server #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoernT
Copy link
Contributor

@JoernT JoernT commented Jun 24, 2021

Corrected version of the initial recipe to run components within TEI-Publisher from a local dev server.

Advantages:

  • you can modify components and test within TEI-Publisher right away to cover use cases where several components need to interact
  • you can debug single unbundled components in the browser
  • easy to setup once you know it ;)

Copy link
Contributor

@duncdrum duncdrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one typo

components from a local devserver. The devserver is already present in the pb-components project and
can be run via npm.

In order for your TEI-Publisher app to know form where to load the components you have to adapt `modules/config.xqm`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

form -> from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants