Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

add page describing how to add static assets#33

Open
connor4312 wants to merge 1 commit into
yewstack:master from
connor4312:static-page
Open

add page describing how to add static assets #33
connor4312 wants to merge 1 commit into
yewstack:master from
connor4312:static-page

Conversation

@connor4312

@connor4312 connor4312 commented Feb 28, 2020

Copy link
Copy Markdown

There were some examples for this, but no docs yet 🙂

Comment thread src/more/static.md
@@ -0,0 +1,42 @@
# Static Content

Static content in Yew is served from the `static` directory in your crate. For example, if you have a folder structure like:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is useful info, thanks for adding!

I think you're conflating Yew and cargo-web though. Yew doesn't do any serving or html generation. That's all cargo-web (or some other tool). Could you please clarify those points in this page?

connor4312 reacted with thumbs up emoji
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer

@jstarry jstarry jstarry left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /