cfpb / generator-cf

Yeoman generator for Capital Framework
http://cfpb.github.io/capital-framework/getting-started/
Creative Commons Zero v1.0 Universal
9 stars 13 forks source link

Webfonts 404 in demo #147

Open anselmbradford opened 6 years ago

anselmbradford commented 6 years ago

Steps to replicate behavior

  1. yo cf in test directory.
  2. gulp build && npm start
  3. Open console.

Screenshots

screen shot 2018-03-02 at 1 09 45 pm

jimmynotjim commented 6 years ago

Whoops, we should wait to do the next release till we fix this. Anyone planning on tackling it or should I?

anselmbradford commented 6 years ago

Go for it

Scotchester commented 6 years ago

It's kinda tricky to know what to do about this. We could do one or both of the following:

anselmbradford commented 6 years ago

Set @use-font-cdn: true; in the generated main.less file, so that if they're running it on localhost, they'll see the fonts pulled down from the CDN.

Maybe combine this with the first bullet and prompt for this with language around if it's false they'll need the fonts installed locally?

Scotchester commented 6 years ago

Yeah, a combo is probably the best bet.