Skip to content

Commit

Permalink
feat(extension): support form-details
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 5, 2022
1 parent 4e5faf6 commit 20e8655
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/varlet-vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"glob": "^7.1.6",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"vsce": "^2.7.0",
"vsce": "^2.13.0",
"webpack": "^5.23.0",
"webpack-cli": "^4.4.0"
}
}
}
4 changes: 4 additions & 0 deletions packages/varlet-vscode-extension/src/componentMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ export const componentMap: Record<string, ComponentDescriptor> = {
form: {
site: '/form',
},
'form-details': {
site: '/form',
closeSelf: true,
},
'index-bar': {
site: '/index-bar',
},
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20e8655

Please sign in to comment.