Trying to componentize not just the css but the html and js too