Using fast component inside a Web Component #5294
-
Hello, I am trying to use a fast component inside a custom web component but get the following error: My Web Component looks like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
EisenbergEffect
Nov 8, 2021
Replies: 1 comment 3 replies
-
I think the issue you have is the module path for the import {
allComponents,
provideFASTDesignSystem
} from "../node_modules/@microsoft/fast-components/dist/esm/index.js"; |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
TimO2221
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the issue you have is the module path for the
import
statement. It seems like you are maybe trying to do this directly from a browser script without a bundler. If that's the case, try this: