You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
2 years ago
|
# 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)
|