Merge pull request #12295 from zhaoqize/patch-1

Update setup.md
This commit is contained in:
jonniebigodes 2020-08-28 16:41:54 +01:00 committed by GitHub
commit e81d57020b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,6 @@ Alternatively if you want to inject a CSS link tag to the `<head>` directly (or
## Load assets and resources
If you want to link to static files in your project or stories (e.g. `/fonts/XYZ.woff`), use the `-s path/to/folder` to specify a static folder to serve from when you start up Storybook. To do so, edit the `storybook` and `build-storybook` scripts in `package. json`.
If you want to link to static files in your project or stories (e.g. `/fonts/XYZ.woff`), use the `-s path/to/folder` to specify a static folder to serve from when you start up Storybook. To do so, edit the `storybook` and `build-storybook` scripts in `package.json`.
We recommend serving external resources and assets requested in your components statically with Storybook. This ensures that assets are always available to your stories.