Commit 3af5a018 authored by Ivan Storck's avatar Ivan Storck Committed by Guillermo Rauch

Instructions for images and static assets (#235)

* Instructions for images and static assets

Helpful pointer in the README about `/static` directory

* Update README.md

* remove reference to components directory

* Update README.md
parent 6a4da38d
...@@ -86,6 +86,10 @@ const style = css({ ...@@ -86,6 +86,10 @@ const style = css({
}) })
``` ```
### Images and other static files
Create a folder called `static` in your project root directory. From your code you can then reference those files with `/static/` URLs, e.g.: `<img src="/static/file-name.jpg" />`.
### `<head>` side effects ### `<head>` side effects
We expose a built-in component for appending elements to the `<head>` of the page. We expose a built-in component for appending elements to the `<head>` of the page.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment