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
this is ui document
npm install -D unplugin-vue-components unplugin-auto-import // webpack.config.js const AutoImport = require('unplugin-auto-import/webpack') const Components = require('unplugin-vue-components/webpack') const { ElementPlusResolver } = require('unplugin-vue-components/resolvers') module.exports = { // ... plugins: [ AutoImport({ resolvers: [ElementPlusResolver()], }), Components({ resolvers: [ElementPlusResolver()], }), ], }
so when i install plugins,i add plugin like this:
// webpack.config.js const AutoImport = require('unplugin-auto-import/webpack') const Components = require('unplugin-vue-components/webpack') const {ElementPlusResolver} = require('unplugin-vue-components/resolvers') Encore // .... .addPlugin(AutoImport({ resolvers: [ElementPlusResolver()], }))
when i run yarn run watch, i got error:
TypeError: AutoImport is not a function
how to fix it
The text was updated successfully, but these errors were encountered:
@langziyang autoimport ist a Class See original documentation you must call default method See https://github.com/unplugin/unplugin-auto-import
Sorry, something went wrong.
No branches or pull requests
this is ui document
so when i install plugins,i add plugin like this:
when i run yarn run watch, i got error:
TypeError: AutoImport is not a function
how to fix it
The text was updated successfully, but these errors were encountered: