fix: html 模版参数配置问题

This commit is contained in:
bac-joker 2021-03-03 15:10:55 +08:00
parent 2294202cf3
commit 39860d31b0
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1 @@
FES_APP_PUBLISH_ERROR_PAGE=hello

View File

@ -6,6 +6,9 @@ export default {
define: { define: {
__DEV__: false __DEV__: false
}, },
html: {
title: '海贼王'
},
publicPath: '/', publicPath: '/',
access: { access: {
roles: { roles: {

View File

@ -3,10 +3,11 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fes.js</title> <title><%= htmlWebpackPlugin.options.title %></title>
<link rel="shortcut icon" type="image/x-icon" href="./logo.png"> <link rel="shortcut icon" type="image/x-icon" href="./logo.png">
</head> </head>
<body> <body>
<%= FES_APP_PUBLISH_ERROR_PAGE %>
<div id="app"></div> <div id="app"></div>
</body> </body>
</html> </html>