Let's say I want to make a new framework that consists of HTML components. My project structure would be something like this:
/components
../dialog
../../css
../../js
../../html
../textfield
../../css
../../js
../../html
I need some technology to run such project that will give me:
- instant browser reloads/hot code pushes
- less/sass support
- template engine like handlebars, so for each component I don't need to import all my css and write
html
head
tags
So basically I need something that works like codepen.io but with the power of my IDE
(I use webstorm)
What I tried:
ExpressJs
- I don't like the fact I should define routes for every component, also still can not configure it with any hot push packages:nodemon
,node-supervisor
- they reload app, but not page in the chrome.Ember
- requires and generates a lot oftemp
code, that causes my 8gb ram computer run slow, since my IDE tries to index all of node_modules. I know it could be configurated, but no other advantages too.Angular
- also a lot of steps I should do after creating new component files - imports and so on.Meteor
- one of the best solutions so far, but it has full tech stack -client
&server
. Reloads a little bit slow. Aslo I know exactly that it can not be used with Chrome Dev Tools Workspaces, to edit css instantly from console and save to disk, this feature I dream on.
To avoid any confusion. As a result I want to provide users with css/less/sass and html/jade/... It should not be like web components: Polymer or React