build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: '../../static',
assetsPublicPath: './',
config/index.js
问题是这样改完了,根index.html路径也不对,最后还是得手改
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<title>iviewdemo</title>
<link href=./../../static/css/app.0a6ba3b3dba53fc983a09ef477b088f9.css rel=stylesheet>
</head>
<body>
<div id=app></div>
<script type=text/javascript src=./../../static/js/manifest.06afec52e97ebf804504.js> </script> <script type=text/javascript
src=./../../static/js/vendor.863170c738aad3e88771.js> </script> <script type=text/javascript src=./../../static/js/app.2ca91cd92c83d3402260.js>
</script> </body> </html>
---------------------------------------------
生活的意义并不是与他人争高下,而在于享受努力实现目标的过程,结果是对自己行动的嘉奖。
↑面的话,越看越不痛快,应该这么说:
生活的意义就是你自己知道你要做什么,明确目标。没有目标,后面都是瞎扯!
新博客 https://www.VuejsDev.com 用于梳理知识点