Separate folders for js/css for the distribution

104 views
Skip to first unread message

Petru Vasile Avram

unread,
Nov 20, 2014, 4:49:37 AM11/20/14
to seman...@googlegroups.com
Can the gulp install script do that currently, or if not is it even planned in the future? Currently I made my own task in my project to watch for changes in the default distribution that I have in bower_components and copy the generated files over in the appropriate folders in my project.

Also I think there is a bug with the gulp watch task because it detects changes but doesn't run any task. Is this a known issue or am I possibly doing something wrong? (I'm on the head of the 1.0 branch from github).

Andras Gyomrey

unread,
Nov 20, 2014, 2:07:29 PM11/20/14
to seman...@googlegroups.com
Just a user, not developer.

About the first question, you can always use symlinks. I use them exactly because of the reason you ask.

About the second question, I'm not familiar with gulpfile.js, the only thing I can recommend you is to check you're including the component in theme.config, because I believe semantic.json component list of components was deprecated.

Jack Lukic

unread,
Nov 20, 2014, 2:24:39 PM11/20/14
to Andras Gyomrey, seman...@googlegroups.com
Have you checked out the guide at learnsemantic.com ?

--
You received this message because you are subscribed to the Google Groups "Semantic UI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semantic-ui...@googlegroups.com.
To post to this group, send email to seman...@googlegroups.com.
Visit this group at http://groups.google.com/group/semantic-ui.
For more options, visit https://groups.google.com/d/optout.

Petru Vasile Avram

unread,
Nov 20, 2014, 2:57:04 PM11/20/14
to seman...@googlegroups.com, lgan...@gmail.com
Yes.I used the installer in the first try when I set up my project, but the problem that I have is that I could not find a way there or in the config to specify a folder structure like

/project_root
  /bower_components
    /semantic_ui
  /app
    /assets
      /css
      /js

I followed the guide from learnsemantic.com but I can only separate the compressed and uncompressed files into folders. Right? I want to separate javascript code from CSS code, if that makes sense. Also I can't really finish the theme/customisation design first (as suggested on learnsemantic.com) then just dump it into my site because I don't have a clear design that I work with, but I'll need to adapt the UI a lot of fit my site requirements.

Jack Lukic

unread,
Nov 20, 2014, 6:02:26 PM11/20/14
to Petru Vasile Avram, seman...@googlegroups.com, Andras Gyomrey
I'll look into adding a semantic.json option for separate js folders. 
Reply all
Reply to author
Forward
0 new messages