Giter Club home page Giter Club logo

gravnd-zero's Introduction

Gravnd Zero

Minimal theme for Grav CMS. No dependencies, improved directory structure, optimized build process and freedom to create.

Features

  • Laravel Mix Webpack wrapper allowing the asset pipline flow smoothly
  • Browsersync Syncs your devices and refreshes the browsers everytime you make a change

Installation

Grav Package Manager (Recommended)

$ cd path/to/grav
$ (php) bin/gpm install gravnd-zero
$ cd /user/themes/gravnd-zero
$ yarn

Log in to admin panel go to Themes > Add search for Gravnd Zero and click Install. After that, Activate the theme.

Using this method you will have to manually copy files from user/themes/gravnd-zero/_demo/pages to user/pages

Manual

$ cd path/to/grav/user/themes
$ git clone https://github.com/fistmenaruto/gravnd-zero.git
$ cd gravnd-zero
$ yarn

Activate theme in admin panel or change theme to gravnd-zero in user/config/system.yaml

Using this method you will have to manually copy files from user/themes/gravnd-zero/_demo/pages to user/pages

Usage

  1. Start your dev server

  2. Run yarn/npm script

# Compile .scss, .js, .twig files and add sourcemaps.
$ yarn dev

# Same as dev but watches files for changes and runs Browsersync.
# Once files are saved, they are recompiled and Browsersyn refreshes the browsers.
$ yarn watch

# Prepares the files for production minifying them and removing sourcemaps.
$ yarn production

Before starting I recommend to review settings in webpack.mix.js

See CONTRIBUTING.md

Thank you

To Robbin Johansson and his Haywire Grav theme, on which this project is based on.

gravnd-zero's People

Contributors

domnantas avatar

Stargazers

 avatar Gerson Minichiello avatar Predrag Drljaca avatar Rubén Prol avatar Ara L Abcarians avatar

Watchers

Domantas avatar

Forkers

tpraxl kidwalom

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.