material-color-utilities
material-color-utilities copied to clipboard
Provide e2e examples for typescript
- Can have e2e examples for other languages, but typescript is the most DIY For example
import { Hct } from "@material/material-color-utilities";
produces
Uncaught TypeError: Failed to resolve module specifier "@material/material-color-utilities". Relative references must start with either "/", "./", or "../".
Probably have a misconfigured tsconfig.json or package.json. It would be nice to see a simple config that can run in a browser
It works for me, but I have to wait 1 or 2 seconds with Sveltekit before the theme is applied.
- Can have e2e examples for other languages, but typescript is the most DIY For example
import { Hct } from "@material/material-color-utilities";produces
Uncaught TypeError: Failed to resolve module specifier "@material/material-color-utilities". Relative references must start with either "/", "./", or "../".Probably have a misconfigured
tsconfig.jsonorpackage.json. It would be nice to see a simple config that can run in a browser
Have you run npm i with the package name?