Skip to content

Commit

Permalink
update readme and repository package
Browse files Browse the repository at this point in the history
  • Loading branch information
dancespiele committed Feb 26, 2020
1 parent dd89843 commit 41e8143
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,15 @@ This is an initial project of a framework style for yew
you can run the project with:

* `npm start`

To install yew-styles in your project, execute in the root path:

* `npm install yew-styles`

* after import the css in your index.js/index.ts file:

```javascript
import 'node_modules/yew-styles/main.css';
```

* include `yew_styles: 0.1.0` in your Cargo.toml
3 changes: 3 additions & 0 deletions app/yew-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "yew-styles",
"version": "0.1.0",
"description": "css for yew_styles",
"repository": {
"url": "https://github.com/spielrs/yew-styles-page/tree/master/app/yew-styles"
},
"main": "main.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "My awesome Yew with Yew-Router and Parcel application!"
license = "Apache-2.0/MIT"
name = "yew_style_page"
readme = "./README.md"
repository = "https://github.com/spielrs/yew-parcel-template.git"
repository = "https://github.com/spielrs/yew-styles-page.git"
version = "0.1.0"

[lib]
Expand Down
1 change: 1 addition & 0 deletions crate/yew_styles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["spieljs <[email protected]>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/spielrs/yew-styles-page/tree/master/crate/yew_styles"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Francisco Jesus Navarro Cortes<[email protected]>",
"repository": {
"url": "https://github.com/spielrs/yew-parcel-template"
"url": "https://github.com/spielrs/yew-styles-page.git"
},
"name": "yewstyle-page",
"version": "0.1.2",
Expand Down

0 comments on commit 41e8143

Please sign in to comment.