Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Niklas Häusele
    @codergeek121
    Hey, I wanted to create a gulp foundation6 for jekyll and saw you already created a nice workflow!
    Chris
    @core77
    I hope you enjoy working with it. There's anotherone from huphtur using uncss:
    Niklas Häusele
    @codergeek121
    Yeah, wanted to ask if you accept a pull request? I maybe wanted to add htmlmin to your build, since minifying html in jekyll is great :)
    Chris
    @core77
    It's already built in. There is a jekyll layout which compresses the html output.
    Niklas Häusele
    @codergeek121
    oh, I see :O Great!
    Chris
    @core77
    Sure, pull requests are appreciated if something can be improved
    Alistair Calder
    @alistaircom
    Love the repo - just starting with it now.
    Chris
    @core77
    @alistaircom Thanks for the PR!
    Kayd Withers
    @kaydwithers
    I'm having a bit of trouble with loading the CSS. I followed all the instructions but when I go to http://127.0.0.1.xip.io:3000/ the CSS file can't be found. And the CSS hasn't been added to the _site/assets folder. However "_site/assets/js/app.js" is there but not "_site/assets/css/app.css" any idea what might have gone wrong?
    Chris
    @core77
    Hm. On Mac, Win, Linux? I just deleted the node_modules and assets/vendor folders and installed the whole stuff again. When I run 'npm start' the CSS file is properly compiled and copied to _site/assets/css.
    Any errors in the terminal? Did you try to reboot your machine and retry serving with 'npm start'?
    BackdoorDan
    @BackdoorDan
    Hey guys! Nice work, i've been using this in a couple of projects already!
    Chris
    @core77
    @BackdoorDan :+1:
    BackdoorDan
    @BackdoorDan
    Anybody here use this BP with a Jekyll CMS service like cloudcannon?
    Chris
    @core77
    Not yet. For me it's only interesting if there's a non-tech editor... There's also an extension from contentful (https://www.contentful.com/ecosystem/jekyll/)
    It would be interesting to know which one is better, cloundcannon or contentful!
    BackdoorDan
    @BackdoorDan
    Im using cloud cannon and I love it! its a bit annoying to setup with this BP because they build on their servers
    so I cant run gulp etc
    but I got what I need using travis CI to build and deploy instead of CC
    Chris
    @core77
    @BackdoorDan How do you deploy with Travis?
    I think with Netlify you would be able to use gulp and the whole Node.js stuff for your builds...
    Chris
    @core77
    Nice article about the Foundation menu component: http://www.sitepoint.com/foundation-6-menu-component/
    BackdoorDan
    @BackdoorDan
    @code right now I just ftp via a gulp task through travis CI
    @core77 lol
    Rebekah Monson
    @rebekahmonson
    Heya @kaydwithers I'm having the same problem. Were you able to fix this? :(
    Rebekah Monson
    @rebekahmonson
    This message was deleted
    @core77 here is the error i am getting
    Error in plugin 'sass'
    Message:
        assets/scss/foundation/_foundation.scss
    Error: File to import not found or unreadable: ../../vendor/foundation-sites/scss/foundation
           Parent style sheet: /Users/rebekahmonson/Desktop/wbu/assets/scss/foundation/_foundation.scss
            on line 26 of assets/scss/foundation/_foundation.scss
    >> @import '../../vendor/foundation-sites/scss/foundation';
    tried a reboot and a reinstall. not sure what I am missing. (i'm a noob, though.) any help would be much appreciated.
    Chris
    @core77
    Hi @rebekahmonson, please open the package.json and tell me which version it has in line 3. Looks like you don't have the assets/vendor folder. Please check that. If it's not there you have to run 'bower install' and then bower will download the required files. You got that error because assets/vendor/foundation-sites/scss/foundation.scss is not there ... Please tell me if bower install helped.
    Rebekah Monson
    @rebekahmonson
    Hey @core77. Thanks for the help. Here's line 3 in package.json
      "version": "0.2.0",
    Rebekah Monson
    @rebekahmonson
    definitely don't see the folder. i ran bower install, but no luck. sounds like i need to do some troubleshooting on my end. thanks for the help!
    Rebekah Monson
    @rebekahmonson
    ok. I think i figured it out. bower was installing everything into its default bower_components folder. just made a new .bowerrc file to install everything into the proper directory and it's working fine now. Thanks again!
    Chris
    @core77
    :+1:
    Chris
    @core77
    OMG, the javascript gulp task takes 17 seconds! Definitely too much.
    Chris
    @core77
    ...when running 'npm run build' (production build)
    captaincoffee
    @captaincoffee
    Today I get an error when starting gulp. "No gulpfile found" I an pretty inexperienced and have no idea where to start. I am running from your initial commit.
    Chris
    @core77
    @captaincoffee Is the gulpfile.js in the project folder?
    captaincoffee
    @captaincoffee
    The gulpfile was there. I backed up, and went thru the install again. Bundle install seemed to do the trick. Is this the typical fix?
    captaincoffee
    @captaincoffee
    Where/how should custom .js files be added to the project so that they do not get overwritten on updates?
    Chris
    @core77
    Bundler is for Ruby gem dependencies, Gulp is Node.js based... But always a good idea to check dependencies.
    You can put custom js files into /assets/js/. Don't forget to include them in the gulpfile.js
    captaincoffee
    @captaincoffee
    I went thru the install steps as in the readme. It may have been a cache or server restart issue that made bundler seem the answer when in fact it was a previous step. Thanks.