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

add shadow-dom example #1673

Merged
merged 2 commits into from
Oct 18, 2022
Merged

add shadow-dom example #1673

merged 2 commits into from
Oct 18, 2022

Conversation

andnorda
Copy link
Collaborator

No description provided.

@andnorda andnorda requested a review from KenAJoh October 18, 2022 13:11
@@ -0,0 +1,19 @@
import ReactDOM from "react-dom/client";
import { Button } from "@navikt/ds-react";
import styles from "@navikt/ds-css/dist/index.css?inline";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Dette er for at Vite ikke skal legge styles i header (https://vitejs.dev/guide/features.html#disabling-css-injection-into-the-page)

@github-actions
Copy link
Contributor

Chromatic build-output:

commit: a9b1291ae

@KenAJoh KenAJoh merged commit fc81812 into master Oct 18, 2022
@KenAJoh KenAJoh deleted the shadow-dom-example branch October 18, 2022 15:03
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