Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

bootstrap font 问题 #7

Open
janjon opened this issue Feb 10, 2016 · 4 comments
Open

bootstrap font 问题 #7

janjon opened this issue Feb 10, 2016 · 4 comments
Labels

Comments

@janjon
Copy link

janjon commented Feb 10, 2016

你好: bootstrap 引用 font 的路径有问题.我执行 build 后 生成的 css 引用 fonts 的路径 是 相对路径
“src:url(fonts/f4769f9b.glyphicons-halflings-regular.eot)”
请问我要如何才能解决它。
谢谢

@chemdemo
Copy link
Owner

css和font文件发布之后一般都是存刚在cdn同目录呀,用相对路径也是没问题的嘛

@shenggen1987
Copy link

我把zepto去掉,换成jquery怎么没办法用?怎么解?

@yatelu1
Copy link

yatelu1 commented Feb 29, 2016

@shenggen1987 sourcemap.json里面配置的吧

@IdenPin
Copy link

IdenPin commented Sep 5, 2017

@janjon 问题解决了么,src/scss/font字体如何到src/css里面去
ERROR in ./~/css-loader!./src/css/index.css Module not found: Error: Cannot resolve 'file' or 'directory' ./font/iconfont.eot in /Users/mac/git/edps-webpack/src/css @ ./~/css-loader!./src/css/index.css 6:5415-5461 6:5496-5542 6:18213-18259 6:18294-18340

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants