mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-16 05:38:26 +00:00
update readme
This commit is contained in:
parent
0fe74f7dcc
commit
6b991bf184
1 changed files with 4 additions and 36 deletions
40
README.md
40
README.md
|
@ -5,26 +5,13 @@
|
|||
</p>
|
||||
</div>
|
||||
|
||||
![Dioxus Logo](https://dioxuslabs.com/guide/images/dioxuslogo_full.png)
|
||||
|
||||
|
||||
# About
|
||||
---
|
||||
dioxus-studio (inspired by wasm-pack and webpack) is a tool to help get dioxus projects off the ground. It handles all the build, development, bundling, and publishing to make web development just a simple two commands: `cargo init` and `dioxus-cli publish`.
|
||||
|
||||
Best thing:
|
||||
- No NPM.
|
||||
- No Webpack.
|
||||
- No `node_modules`.
|
||||
- No Babel
|
||||
- No parcel
|
||||
- No rollup
|
||||
- No ESLint
|
||||
|
||||
|
||||
## Visual Studio
|
||||
Dioxus Studio features a command-line driven visual interface to manage your project. It's a great way to get started with dioxus projects.
|
||||
|
||||
To start the visual environment, simply type `dioxus studio` in your terminal.
|
||||
|
||||
From there, you can explore all the options to build, bundle, and deploy your app.
|
||||
dioxus-studio (inspired by wasm-pack and webpack) is a tool to help get dioxus projects off the ground. It handles all the build, development, bundling, and publishing to make web development simple.
|
||||
|
||||
|
||||
## Features
|
||||
|
@ -38,22 +25,3 @@ Need a development server?
|
|||
Need to run an example?
|
||||
`dioxus develop --example textbox`
|
||||
|
||||
Need to benchmark a component?
|
||||
`dioxus bench`
|
||||
|
||||
Need to test your code?
|
||||
`dioxus test`
|
||||
|
||||
Need to convert some html into rsx?
|
||||
`dioxus convert file.html >> file.rs`
|
||||
|
||||
Need to build your code into a bundle?
|
||||
`dioxus build --outdir public`
|
||||
|
||||
# Use in your project
|
||||
---
|
||||
Sometimes you'll want to include static assets without bundling them into your .wasm content. dioxus-cli provides a few ways of doing this:
|
||||
|
||||
- Load in dynamic content using `dioxus::asset("./static/images/blah.svg")`
|
||||
- Live-reload HTML templates without rebuilding your .wasm with `dioxus::template("./templates/blah.html")`
|
||||
- Use a CSS library like tailwind in your dioxus configuration with
|
||||
|
|
Loading…
Add table
Reference in a new issue