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
vite.config.js中的server.host配置不生效,npm run dev:h5 -- --host 也不起作用
import { defineConfig } from 'vite' import uni from '@dcloudio/vite-plugin-uni' const os = require("os"); // https://vitejs.dev/config/ export default defineConfig({ plugins: [ uni(), ], server: { host: os.hostname(), } })
npm run dev:h5 -- --host myhostname
vite-plugin-uni版本:3.0.0-alpha-3030120211216001
The text was updated successfully, but these errors were encountered:
fix(h5): respect user config (#3083)
d512c35
已修复,更新cli至:3.0.0-alpha-3030120211217001
Sorry, something went wrong.
fxy060608
No branches or pull requests
vite.config.js中的server.host配置不生效,npm run dev:h5 -- --host 也不起作用
vite-plugin-uni版本:3.0.0-alpha-3030120211216001
The text was updated successfully, but these errors were encountered: