feat: add vscode extension

This commit is contained in:
Jonathan Kelley committed 2021-12-29 12:03:21 -05:00
1 parent 07efeda124
commit 92c08f41f0
7 files changed
+3201

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# Dioxus VSCode Extension
![Dioxus Logo](https://dioxuslabs.com/guide/images/dioxuslogo_full.png)
This extension wraps functionality in Dioxus CLI to be used in your editor! Make sure the dioxus-cli is installed before using this extension.
## Current commands:
### Convert HTML to RSX
Converts a selection of html to valid rsx.
### Convert HTML to Dioxus Component
Converts a selection of html to a valid Dioxus component with all SVGs factored out into their own module.
## packaging
```
$ cd myExtension
$ vsce package
# myExtension.vsix generated
$ vsce publish
# <publisherID>.myExtension published to VS Code Marketplace
```