Vue JS import font.css error [How to Solve]

Screenshot of error reporting

Solution:

1. Put the font file under static

2. Import font with absolute path in font.css file

3. Introduce CSS in app.vue (@ import “assets/CSS/font.CSS”)

Effect display

Read More: