Giter Site home page Giter Site logo

doc22940 / kirby-ultrakit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wilbo/kirby-ultrakit

1.0 0.0 0.0 300 KB

Kirby workflow on top of the Kirby Starterkit. Uses Gulp, Webpack, BrowserSync, jsHint, Babel and more.

JavaScript 45.76% CSS 54.24%

kirby-ultrakit's Introduction

Kirby UltraKit

Kirby UltraKit is a workflow on top of the Kirby StarterKit. Kirby-UltraKit is as much "opinionated-free" as possible. You're able to manage your own js and css libraries in whatever way you see fit.

What's in it?

Everything is handled trough Gulp. Spinning up the dev server with live-reloading, compiling modules and ES6 into a bundle and compiling scss/sass into css. Read more below about the usage.

Setting things up:

Make sure to setup a vhost with Mamp (or something alike) that will be serving the /public folder of this project root. More info on how to do this read: Adding a virtual host in Mamp. It basically comes down to editing these two files (with Atom):

$ atom /etc/hosts
$ atom /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf

After having your Mamp settings in order, edit the proxy in gulpfile.js on line 25 to match the domain you just configured.

Next up, clone the project files and install the dependencies. "--recursive" will also clone the Kirby StarterKit, however, any Kirby theme is possible to use.

$ git clone --recursive https://github.com/wilbo/Kirby-UltraKit.git
$ cd Kirby-UltraKit
$ npm install

Include the javascript by adding the following line of code inside ./public/site/snippets/footer.php:

<?php echo js('assets/js/main.js') ?>

Edit the .gitignore by removing "/public" on line 14 to track your site in git.

Usage:

Use the following commands to start developing/build assets:

# Build assets, BrowserSync dev server
$ gulp

# Build minified assets, ready for production
$ gulp build --env production

kirby-ultrakit's People

Contributors

wilbo avatar

Stargazers

 avatar

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.