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
if you find some problems, please first read the FAQ
if you want some new feature, please know this plugin aims to let codebase work both in vite and vue-cli.
使用jsx时热更新无效。demo代码:
vite.config.js配置代码:
{ // ... pluginOptions: { vite: { /** * Plugin[] * @default [] / plugins: [vitecommonjs()] /* * Vite UserConfig.optimizeDeps options * recommended set include for speedup page-loaded time, e.g. include: ['vue', 'vue-router', '@scope/xxx'] * @default {} / optimizeDeps: {}, /* * type-checker, recommended disabled for large-scale old project. * @default false / disabledTypeChecker: true, /* * lint code by eslint * @default false */ disabledLint: true, cssLoaderCompat: false, itePluginVue3Options: { jsx: true } } }, }
include
The text was updated successfully, but these errors were encountered:
信息太少,无可奈何
Sorry, something went wrong.
No branches or pull requests
if you find some problems, please first read the FAQ
if you want some new feature, please know this plugin aims to let codebase work both in vite and vue-cli.
使用jsx时热更新无效。demo代码:
<script lang="jsx"> render() { returnvite.config.js配置代码:
{
// ...
pluginOptions: {
vite: {
/**
* Plugin[]
* @default []
/
plugins: [vitecommonjs()]
/*
* Vite UserConfig.optimizeDeps options
* recommended set
include
for speedup page-loaded time, e.g. include: ['vue', 'vue-router', '@scope/xxx']* @default {}
/
optimizeDeps: {},
/*
* type-checker, recommended disabled for large-scale old project.
* @default false
/
disabledTypeChecker: true,
/*
* lint code by eslint
* @default false
*/
disabledLint: true,
cssLoaderCompat: false,
itePluginVue3Options: {
jsx: true
}
}
},
}
The text was updated successfully, but these errors were encountered: