L
L
LilBorsch2020-02-12 10:54:08
css
LilBorsch, 2020-02-12 10:54:08

Why does paths error occur in include css in vue?

After importing css, there was an error connecting fonts, how to solve it?
import './assets/styles/common.css'

./src/assets/styles/common.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??ref--6-oneOf-3-2!./src/assets/styles/common.css)
Module not found: Error: Can't resolve '../fonts/PlayfairDisplay/PlayfairDisplay-Black.eot' in 'H:\frontend\WM\WW-vue\src\assets\styles'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jan, 2020-02-12
@Yancheg

can't find fonts in css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question