新建项目无法运行 #15210
Unanswered
SpringHgui
asked this question in
Q & A
新建项目无法运行
#15210
Replies: 4 comments
-
为什么这个问题没人解决,项目都跑不起来 |
Beta Was this translation helpful? Give feedback.
0 replies
-
这个问题啥时候能解决啊 |
Beta Was this translation helpful? Give feedback.
0 replies
-
主要是这个模板中 <!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="format-detection" content="telephone=no,address=no">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
<title><%= projectName %></title>
<script><%= htmlWebpackPlugin.options.script %></script>
</head>
<body>
<div id="app"></div>
</body>
</html> 其中这行 <title><%= projectName %></title> 可以修改为 <title></title> 或者
这样修改后,可能还会出现另外一个问题。搜索 每次编译时提示警报:WARNING in external "taro_app_library@/remoteEntry.js" #15413 按其中一种方式配置 {
h5: {
compiler: {
prebundle: {
enable: false,
},
type: 'webpack5'
},
}
} 重新跑命令 官方看到能在 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions