Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diomed/tabler4grav
Tabler theme for GRAV CMS
https://github.com/diomed/tabler4grav
Last synced: about 1 month ago
JSON representation
Tabler theme for GRAV CMS
- Host: GitHub
- URL: https://github.com/diomed/tabler4grav
- Owner: diomed
- License: mit
- Created: 2023-10-30T07:03:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-30T07:09:06.000Z (about 1 year ago)
- Last Synced: 2024-04-17T04:05:18.604Z (7 months ago)
- Language: Twig
- Size: 478 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
TABLER
Minimal theme for Grav CMS. No dependencies, improved directory structure, optimized build process and freedom to create.### Installation
#### [Grav Package Manager](http://learn.getgrav.org/advanced/grav-gpm) (Recommended)
``` sh
$ cd path/to/grav
$ bin/gpm install tabler
$ cd /user/themes/tabler
$ yarn
```#### [Grav Admin Plugin](https://github.com/getgrav/grav-plugin-admin)
Log in to admin panel go to `Themes > Add` search for Tabler and click `Install`. After that, `Activate` the theme.
> Using this method you will have to manually copy files from `user/themes/tabler/_demo/pages` to `user/pages`#### Manual
``` sh
$ cd path/to/grav/user/themes
$ git clone https://github.com/diomed/tabler.git
$ cd tabler
$ yarn
```
> Using this method you will have to manually copy files from `user/themes/tabler/_demo/pages` to `user/pages`### Usage
1. Start your dev server
2. Run yarn/npm script
``` sh
# 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`
### [Contribute](CONTRIBUTING.md)
See [CONTRIBUTING.md](CONTRIBUTING.md)