Git Product home page Git Product logo

kaidan's People

Contributors

andersschmidthansen avatar simonh1000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kaidan's Issues

Gulp issues

Hi,
tried to follow your instructions.
Got an error about rimraf being depreacted but it does not seem to be used so I took that out of package.json.
However after installing dependencies when I ran gulp I ended up with this. I see you had set package.json to download latest versions of everything and fear that may be the source of the problem, as I have not changed anything yet.
Any ideas?

[19:16:59] Using gulpfile ~/code/Dropbox/HTML/ghost/content/themes/Mat/gulpfile.js
[19:16:59] Starting 'browser-sync'...
[19:16:59] 'browser-sync' errored after 25 ms
[19:16:59] TypeError: Cannot call method 'map' of null
  at Object.opts.callbacks.files (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/lib/cli/cli-options.js:273:40)
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/lib/cli/cli-options.js:292:54
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1139:46
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1872:16
  at ValueNode.iterate (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:2239:12)
  at BitmapIndexedNode.iterate.HashArrayMapNode.iterate [as iterate] (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:2232:24)
  at HashArrayMapNode.BitmapIndexedNode.iterate.HashArrayMapNode.iterate [as iterate] (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:2232:24)
  at Map.__iterate (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1870:32)
  at KeyedIterable.mappedSequence.__iterateUncached (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1138:23)
  at seqIterate (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:601:16)
  at KeyedIterable.Seq.__iterate (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:261:14)
  at KeyedIterable.mixin.forEach (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:4265:19)
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1740:16
  at Map.withMutations (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1848:7)
  at new Map (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1737:20)
  at reify (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1673:37)
  at Map.mixin.map (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:4285:14)
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/lib/cli/cli-options.js:290:18
  at Map.withMutations (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/node_modules/immutable/dist/immutable.js:1848:7)
  at opts.merge (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/lib/cli/cli-options.js:289:10)
  at /Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/lib/public/init.js:25:33
  at Function.initSingleton [as init] (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/node_modules/browser-sync/index.js:196:20)
  at Gulp.gulp.task.gulp.src.pipe.run.changed.extension (/Users/simon/code/Dropbox/HTML/ghost/content/themes/Mat/src/config/gulpfile.coffee:26:15)

Shift from .SLIM to .JADE for better Handlebars support

Note to self: Handlebars are not handled elegantly enough in .SLIM imho and I've discovered that good ol' Jade seems to do the work much better. Will make a version of Kaidan built with Jade and see if this should be the foundation instead.

Prepare stylesheet classes beforehand

It could be a possibility to try adding the many OOCSS classes to the sass files beforehand, so you practically just fill in the blanks before moving onto more custom stuff. I'm a little biased about this since it might not fit other theme authors who might end up deleting the pre-defined classes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.