Adjust readme

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 2 years ago
parent 460b80d8e7
commit eed1e2db2c
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

26
Cargo.lock generated

@ -598,6 +598,19 @@ dependencies = [
"serde",
]
[[package]]
name = "trivernis-net"
version = "0.1.0"
dependencies = [
"console_error_panic_hook",
"stylist",
"wasm-bindgen",
"web-sys",
"yew",
"yew-router",
"yew_styles",
]
[[package]]
name = "unicode-xid"
version = "0.2.2"
@ -836,16 +849,3 @@ dependencies = [
"yew",
"yew_assets",
]
[[package]]
name = "yew_styles_trunk_template"
version = "0.1.0"
dependencies = [
"console_error_panic_hook",
"stylist",
"wasm-bindgen",
"web-sys",
"yew",
"yew-router",
"yew_styles",
]

@ -1,5 +1,5 @@
[package]
name = "yew_styles_trunk_template"
name = "trivernis-net"
version = "0.1.0"
edition = "2021"

@ -1,25 +0,0 @@
Copyright (c) 2021 Francisco Jesus Navarro Cortes
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

@ -1,26 +1,3 @@
# Yew Styles Trunk Template
# Trivernis.net
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)
This repository contains the source code of [my website](https://trivernis.net).

Loading…
Cancel
Save