Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dancespiele/yew_styles_trunk_template


https://github.com/dancespiele/yew_styles_trunk_template

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# Yew Styles Trunk Template

Template to start an app using [Yew Styles framework](https://yewstyles.spielrs.tech/) with [Trunk](https://trunkrs.dev/) as a builder.

# How it works

1. Install [Trunk](https://trunkrs.dev/#install)
2. Clone this template
3. Execute inside of the template: `trunk serve`

# Directoies and files

* `src/assets` : images, icons and other assets are here
* `src/styles` : here are the `Yew Styles` css files and `main.sass`. **Note**: Only use `main.sass` or create new one in order to write your own styles
* `src/pages` : each component page represent a route
* `src/app.rs` : it is where the router is set and the common elements are added for the whole application
* `src/main.rs` : here call the yew instance in order to run the app

## Do you like Yew Styles?
If you like Yew Styles Trunk Template, help me supporting the project:
- BAT rewards in case that you use [Brave Browser](https://brave.com/)
- [Github Sponsors](https://github.com/sponsors/dancespiele)

## License

Yew Styles Trunk Template is MIT licensed. See [license](LICENSE.md)