diff --git a/packages/extension/README.md b/packages/extension/README.md index fe67f1587..4dc708c4c 100644 --- a/packages/extension/README.md +++ b/packages/extension/README.md @@ -1,8 +1,15 @@ # Dioxus VSCode Extension -![Dioxus Logo](https://dioxuslabs.com/guide/images/dioxuslogo_full.png) +![Dioxus Splash](https://github.com/DioxusLabs/dioxus/raw/main/notes/dioxus_splash_8.avif) -This extension wraps functionality in Dioxus CLI to be used in your editor! Make sure the dioxus-cli is installed before using this extension. +This extension wraps functionality in Dioxus CLI to be used in your editor! + +## Features: + +- Auto-format RSX +- Convert HTML to RSX +- Convert HTML to Dioxus Component +- Format RSX ## Current commands: @@ -12,3 +19,33 @@ 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. + +### Format RSX + +Formats the current file as RSX. + +# Working with Dioxus: + +This overview provides a brief introduction to Dioxus. For a more in-depth guide, make sure to check out: + +- [Getting Started](https://dioxuslabs.com/learn/0.5/getting_started) +- [Book (0.5)](https://dioxuslabs.com/learn/0.5) + +## Contributing +- Check out the website [section on contributing](https://dioxuslabs.com/learn/0.4/contributing). +- Report issues on our [issue tracker](https://github.com/dioxuslabs/dioxus/issues). +- [Join](https://discord.gg/XgGxMSkvUM) the discord and ask questions! + + + + + + +## License +This project is licensed under the [MIT license]. + +[mit license]: https://github.com/DioxusLabs/dioxus/blob/master/LICENSE-MIT + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in Dioxus by you, shall be licensed as MIT, without any additional +terms or conditions. diff --git a/packages/extension/package.json b/packages/extension/package.json index f834086da..62b8159f8 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -2,7 +2,7 @@ "name": "dioxus", "displayName": "Dioxus", "description": "Useful tools for working with Dioxus", - "version": "0.4.0", + "version": "0.5.0", "publisher": "DioxusLabs", "private": true, "license": "MIT", @@ -73,8 +73,7 @@ }, "scripts": { "vscode:prepublish": "npm run build-base", - "// package": "vsce package -o rust-analyzer.vsix", - "// build-base": "node src/build.js", + "vsix": "vsce package", "build-wasm": "cargo build --target wasm32-unknown-unknown --release && cp ../../target/wasm32-unknown-unknown/release/dioxus_ext.wasm pkg/", "bind-wasm": "wasm-bindgen --out-dir=pkg --target=web --omit-default-module-path --omit-imports pkg/dioxus_ext.wasm", "build-base": "npm run build-wasm && npm run bind-wasm && webpack",