我使用Vue-cli
with webpack
,但在调用 externaljs
和css
file in 时遇到问题index.html
。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>gradana</title>
<link rel="stylesheet" href="./src/assets/css/hello.css">
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
如果我运行代码我有错误。
Cannot GET /src/assets/css/hello.css