-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[Bug]: Not able to use Web Components V3 with stand-alone script #28110
Comments
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
Library
Web Components (@fluentui/web-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
Working example with V2: https://codesandbox.io/s/boring-bardeen-sggue7?file=/index.html
Not working example with V3: https://codesandbox.io/s/snowy-waterfall-nb6fz1?file=/index.html
(code for component call copied from https://web-components.fluentui.dev/?path=/docs/components-button-compound-button--button)
Bug Description
I'm trying to use the Web Components V3 from a Blazor application and from a simple HTML page. With V2 I could just include a link to the web-components.js/web-components.min.js and it just worked. With the V3 script I'm getting an error when including the script.
In Blazor:
In HTML:
Screenshot of minimal repo:
This is caused by the script referencing
@microsoft/fast-element/utilities
in the first lineExpected Behavior
I can use the V3 components by including a single script file in my HTML (or Blazor) source.
Logs
No response
Requested priority
Blocking
Products/sites affected
Fluent UI Blazor components library vNext
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: