north / generator-style-prototype

Yeoman Generator for Style Prototypes
362 stars 49 forks source link

gh-pages not rendering correctly on the front-end #33

Closed danielroot closed 10 years ago

danielroot commented 10 years ago

After running "grunt deploy" I go to the gh-pages URL for my repo http://danrootdesign.github.io/nm-styleguide/ and I get a 404. I can get to elements page here: http://danrootdesign.github.io/nm-styleguide/elements/, but the Assets and pages aren't linking up correctly. This is the link to the CSS . Is there a step I'm missing to make this work? thanks!

Snugug commented 10 years ago

The index issue I'm aware of and needs to be fixed (there currently isn't a root index file when exporting). As for your assets not loading, in config.yml, there is an asset prefix option. You need to set this to the name of your GitHub directory, specifically for you nm-styleguide

danielroot commented 10 years ago

Thanks, that did the trick! Great work on this project.