// current setup:
public
css
navigation
right-sidebar.css
left-sidebar.css
main
header.css
foot.css
main.css
extra
grid.css
normalize.css
// trying to achieve:
public
...
dist
css
我的gitignore文件目前看起来如下所示:
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
**/wwwroot/lib/
**/wwwroot/_references.js
**/wwwroot/app/**/*.js*
**/wwwroot/css/**/*.min.css
**/wwwroot/js/**/*.min.js
**/wwwroot/b
我使用index.js导入引导程序,我使用Webpack 4
import React from 'react';
import ReactDOM from 'react-dom';
import './assets/css/index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import 'bootstrap/dist/css/bootstrap.min.css';
Reac
在asp.net应用程序中加载.css文件时出现错误,错误消息如下
Error: The stylesheet http://'<Website URL>'/css/default.css was not loaded because its MIME type, "text/html", is not "text/css".
我怎么才能解决它呢?