Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I modified the htmlx example and added CSS #144

Open
freedomtowin opened this issue Jun 27, 2024 · 2 comments
Open

I modified the htmlx example and added CSS #144

freedomtowin opened this issue Jun 27, 2024 · 2 comments

Comments

@freedomtowin
Copy link

I am interested in building a full-stack blog website with Rust and found viz-rs to be a suitable package for this purpose. This project also serves as my introduction to Rust and open-source development. I have modified the htmlx example to incorporate CSS for a blog post site.

You can view the updated htmlx example here: viz-htmlx-css.

As I am new to Rust, I would like to contribute this example. Would it be possible to submit a pull request to modify the existing htmlx example, or should this be added as a new htmlx-css example?

Additionally, I am unsure if there are any issues related to using a Cargo workspace with the htmlx example. Is it considered best practice to use workspaces for the library's examples folder?

@fundon
Copy link
Member

fundon commented Jul 3, 2024

Hi, thank you. PR welcome.

@fundon
Copy link
Member

fundon commented Jul 4, 2024

Additionally, I am unsure if there are any issues related to using a Cargo workspace with the htmlx example. Is it considered best practice to use workspaces for the library's examples folder?

Maybe it would be better to set the examples folder as a separate repo.

You also can run examples and use this cmd: cargo run --bin htmlx-example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants