FluentUI in a ScriptLab

49 views Asked by At

In my new ScripLab's project I am trying to add a reference to the library FluentUI by the following code:

@fluentui/[email protected]/dist/web-components.min.js

But I get an error in the console:

["Uncaught SyntaxError: Unexpected token 'export'", "https://unpkg.com/@fluentui/[email protected]/dist/web-components.min.js", 240, 3412, SyntaxError]

What should I write in Libraries sections in order (1) to use FluentUI web components in my project and (2) to get IntelliSense for it

0

There are 0 answers