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
RT
HTML path include vite config base which will unable find target HTML page, because path.realative will compute error
path.realative
vite-plugin-html/packages/core/src/htmlPlugin.ts
Line 102 in 841d4ef
The text was updated successfully, but these errors were encountered:
me too v3.2.1
project path uri:
d:/...../project-name/...........
vite.config.ts:
{ envDir, base: "/project-name", plugins: [ ..., createHtmlPlugin({ pages: [ { entry: 'src/main.ts', filename: 'index.html', template: 'index.html', injectOptions: { data: { title: "..." } } } ] }) ], }
error
ERROR [vite:build-html] ejs:8 23:12:13 6| <link rel="icon" type="image/svg+xml" href="/logo.png" /> 7| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> >> 8| <title><%- title %></title> 9| <style> 10| :root { 11| --app-context-color: #67bc66; title is not defined
v3.0.6 is ok!
Sorry, something went wrong.
No branches or pull requests
RT
HTML path include vite config base which will unable find target HTML page, because
path.realative
will compute errorvite-plugin-html/packages/core/src/htmlPlugin.ts
Line 102 in 841d4ef
The text was updated successfully, but these errors were encountered: