StreamAwesome
StreamAwesome copied to clipboard
Can't find .css files with Font Awesome 6 Free
I'm (still) experiencing a similar problem as in https://github.com/sebinside/StreamAwesome/issues/207
[plugin:vite:import-analysis] Failed to resolve import "../fonts/fontawesome/css/sharp-light.min.css" from "src/main.ts". Does the file exist?
Somehow the checks implemented by https://github.com/sebinside/StreamAwesome/pull/208 don't seem to work. I tried changing the fontAwesomeVersionInfo
object in model/versions.ts
to
fontAwesomeVersionInfo = {
fontFamilyBase: 'Font Awesome 6',
fontVersion: '6.6.0',
fontLicense: 'Free'
}
but this doesn't help either. Replacing the if-statement in main.ts
with
...
if (false) {
...
does work however.
Reproduce
- Delete the fonts/fontawesome folder
- Download font awesome free for web Download
- Paste in the folders as stated in the README
- npm run dev