There are lots of tricks out there, but this is the proper way to get everything setup without any hacks.
Grab the snippet code from https://gist.github.com/wesbos/2bb4a6998635df97c748
Find an issue with this post? Think you could clarify, update or add something?
All my posts are available to edit on Github. Any fix, little or small, is appreciated!