Skip to content

Commit

Permalink
docs: update unplugin usage desc with webpack (#3030)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn authored Jan 11, 2024
1 parent afad3da commit 10f3efb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions site/docs/getting-started.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ const { TDesignResolver } = require('unplugin-vue-components/resolvers');
module.exports = {
// ...
plugins: [
AutoImport({
AutoImport.default({
resolvers: [TDesignResolver()],
}),
Components({
Components.default({
resolvers: [TDesignResolver()],
}),
],
Expand Down
4 changes: 2 additions & 2 deletions site/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ const { TDesignResolver } = require('unplugin-vue-components/resolvers');
module.exports = {
// ...
plugins: [
AutoImport({
AutoImport.default({
resolvers: [TDesignResolver()],
}),
Components({
Components.default({
resolvers: [TDesignResolver()],
}),
],
Expand Down

0 comments on commit 10f3efb

Please sign in to comment.