コードに 3 つの css ファイルをバンドルしたいと考えています。そのうちの 1 つは私の Web フォント用で、「url」を使用しています。しかし、アプリケーション ブラウザを実行すると、ファイルが見つかりません。
これは私のcssファイルです:
@font-face {
font-family: 'neuropol';
src: url('../Files/Font/neuropol_x_free-webfont.eot');
src: url('../Files/Font/neuropol_x_free-webfont.eot?#iefix') format('embedded-opentype'),
url('../Files/Font/neuropol_x_free-webfont.woff') format('woff'),
url('../Files/Font/neuropol_x_free-webfont.ttf') format('truetype'),
url('../Files/Font/neuropol_x_free-webfont.svg#neuropol_x_freeregular') format('svg');
font-weight: normal;
font-style: normal;
}
そして、これは私のバンドルコードです:
bundles.Add(new StyleBundle("~/bundles/styles/base").Include("~/Content/Styles/style.css", "~/Content/Styles/normalize.css", "~/Content/Styles/webfont.css"));
誰でも問題を解決するのを手伝ってもらえますか?