We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配置如下(vben改造): const htmlPlugin: PluginOption[] = createHtmlPlugin({ minify: isBuild, pages: [ { filename: 'index.html', template: 'index.html', injectOptions: { // Inject data into ejs template data: { title: VITE_GLOB_APP_TITLE, }, // Embed the generated app.config.js file tags: isBuild ? [ { tag: 'script', attrs: { src: getAppConfigSrc(), }, }, ] : [], }, }, ], });
window环境下 都配置index.html 一个是/index 一个是c/User/**/index.html 导致报错
The text was updated successfully, but these errors were encountered:
No branches or pull requests
配置如下(vben改造):
const htmlPlugin: PluginOption[] = createHtmlPlugin({
minify: isBuild,
pages: [
{
filename: 'index.html',
template: 'index.html',
injectOptions: {
// Inject data into ejs template
data: {
title: VITE_GLOB_APP_TITLE,
},
// Embed the generated app.config.js file
tags: isBuild
? [
{
tag: 'script',
attrs: {
src: getAppConfigSrc(),
},
},
]
: [],
},
},
],
});
window环境下 都配置index.html 一个是/index 一个是c/User/**/index.html 导致报错
The text was updated successfully, but these errors were encountered: