Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

add page describing how to add static assets #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

connor4312
Copy link

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

@@ -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
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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants