Add styles above scripts inside Meteor app <head> tag -
i'm new , loving meteor. but, of course, every framework nice features has flaws. meteor, seems flaw amount of client-side scripts have loaded app rolling. because of this, relatively empty meteor app can take bit longer render i'd like. feel makes site seem it's broken first 6 seconds.
i know remove dependencies save time. i'm sure things bit better compressed outside of production mode well, in case doesn't when app finished, i'd able give user indication page working.
one way thought of doing add background style while scripts loading. problem seems add head
tag in meteor gets loaded after 20 or scripts.
is there way put style
tags above meteor's script
tags , have styles render before scripts load , start processing?
it appears adding css files "client" directory , leaving link
tags out of head
tag completely, stylesheets load before scripts, solving problem.
let lesson me.
Comments
Post a Comment