Fix #39
Fix #39

Window doesn't exists server side so we check if it exists before running code that depends on it. We need this for nuxt.js support.
rafaelpimpa/buefy,rafaelpimpa/buefy,rafaelpimpa/buefy