north / generator-style-prototype

Yeoman Generator for Style Prototypes
362 stars 49 forks source link

Exported sites need a root index.html #36

Closed Snugug closed 10 years ago

Snugug commented 11 years ago

When running grunt server, we add middleware to redirect to the first menu item. When exporting to gh-pages or generally an export, we need to redirect a user to the correct index page. This should be done through JavaScript (I know) so it's compatible even if a user doesn't have control of server-side redirect (like in the case of gh-pages

Snugug commented 10 years ago

Angular on 2.0