Anonyfox / node-webkit-hipster-seed

Bootstrap a crossplatform Desktop Application using tools you probably never heard of.
Other
1.29k stars 83 forks source link

Change folder architecture #20

Open arnauddri opened 10 years ago

arnauddri commented 10 years ago

Hi,

As my app got bigger and bigger I wanted to change the folder architecture using the following scaffholding:

src |----app |-------feature1 |----------feature.controller.js |----------feature.spec.js |----------feature.styl |----------feature.tpl.jade |-------feature2 |----------feature.controller.js |----------feature.spec.js |----------feature.styl |----------feature.tpl.jade ......... |----assets |----common |----styl index.jade

This got me a lot of trouble:

Many thanks for the help

mdesanti commented 9 years ago

@arnauddri any updates on this? I would like to restructure my app in the same way, but I can't get it to work.

arnauddri commented 9 years ago

yep, I ended up removing Brunch and using grunt instead... It's quite a bit of work and take away some of the value of the seed, but at least I understand the build process much better (I have little experience with brunch) and so it provides much more flexibility

mdesanti commented 9 years ago

@arnauddri is there any repo I can take a look at to see what you've done? I am planning to make my app grow and this structure will not work for me. Thanks!

arnauddri commented 9 years ago

sorry, my repo is not online. I might make a seed though, I'll keep you posted

mdesanti commented 9 years ago

Thanks!

mdesanti commented 9 years ago

@arnauddri after some days of work, I finally managed to build my own seed project. I completely removed brunch and updated the dependencies. You can take a look at it here