Skip to content

Commit

Permalink
Merge pull request #77 from varya/features/subfolder-usage-docs
Browse files Browse the repository at this point in the history
Describe in docs that a server should resolve paths into appRoot
  • Loading branch information
hannu committed Oct 15, 2014
2 parents 7f76a3e + c72c4e8 commit 526ab9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@ Options passed to gulp-ruby-sass

**appRoot** (string, optional)

Define `appRoot` parameter if you host styleguide in other than root folder of the HTTP serve. If styleguide is hosted in http://example.com/styleguide the appRoot should point to `styleguide`
Define `appRoot` parameter if you host styleguide in other than root folder of the HTTP serve. If
styleguide is hosted in http://example.com/styleguide the appRoot should point to `styleguide`

When using the build as a subfolder of your application, tune your server to resolve all the paths into subfolder. This
will let Angular application to deal with routing itself. However, the static files should be resolved as they are
stored.

## Demo

Expand Down

0 comments on commit 526ab9b

Please sign in to comment.