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

Feat/react web components #1002

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Conversation

JoeriRoijenga
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Dec 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rijkshuisstijl-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 10:57am
rijkshuisstijl-community-templates ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 10:57am
rvs-rivm-nl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 10:57am

@JoeriRoijenga
Copy link
Contributor Author

De implementatie van de web componenten werkt binnen Angular en Vue direct, maar bij React lijkt hiervoor extra configuraties nodig te zijn.

Bij een standaard project van React krijg je:

  • tsconfig.app.json
  • tsconfig.json
  • tsconfig.node.json

In de tsconfig.app.json file dien je het volgende toe te voegen:
”include": ["src/**/*.ts", "src/**/*.tsx", "node_modules/**/*.d.ts”]
Het gaat hierbij specifiek om: "node_modules/**/*.d.ts”, dit zorgt er namelijk voor dat hij de typing files in node_modules ook inlaadt.

Of dit een valide aanpak is weet ik alleen niet…

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.

1 participant