I'm trying to create a modular structure for my AngularJS files as described 
here: 

https://medium.com/opinionated-angularjs/9f01b594bf06

app
  about
    about.html
    about.js
    about.spec.js
  home
    home.html
    home.js
    home.spec.js
  app.js
  app.spec.js
assets
  (images etc.)
common
  directives
  resources (or models)
  services
styles
  (sass/less/css files)
index.html

But can't figure out if this is possible with ClojureScript. The idea of course 
is to have the .cljs instead of .js in the modules.

The compilation is recursive, so the nested folders are not a problem. But what 
do I do with the other resources, like the html files? If I put this directory 
in my internal source folders, the assets will not be accessible for the 
client. On the other side, if I put it in public folder, the ClojureScript 
files are public and this is not necessarily desired, and also paths could 
become a bit confusing, since the output js file has a different path than my 
sources...

Is there a good solution for this?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to