Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericmorand/drupal8-templates
https://github.com/ericmorand/drupal8-templates
drupal
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericmorand/drupal8-templates
- Owner: ericmorand
- Created: 2017-01-23T16:54:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T13:14:01.000Z (almost 7 years ago)
- Last Synced: 2025-01-18T21:24:05.890Z (17 days ago)
- Topics: drupal
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal 8 templates
[![NPM version][npm-image]][npm-url]
Drupal 8 core templates as npm dependencies!
## What is the purpose of this package?
This package allows Drupal 8 themers to create custom themes without having to actually install Drupal 8 on their computer - that is by using only nodejs and npm tools like [twigjs](https://www.npmjs.com/package/twig) or [stromboli](https://www.npmjs.com/package/stromboli) + [stromboli-plugin-twig](https://www.npmjs.com/package/stromboli-plugin-twig).
## Which version should I use?
You should always use the most recent version of this package that belongs to the Drupal 8 version that your project is targeting.
The mapping rule is pretty simple: the **first** two digits of this package version will always match the **last** two digits of the corresponding Drupal 8 version.
Here are some examples of what your dependency declaration would look like for the following (hypothetical) versions of Drupal 8:
* Drupal 8.2.5: `"drupal8-templates": 2.5.x`
* Drupal 8.3.0: `"drupal8-templates": 3.0.x`
* Drupal 8.4.9: `"drupal8-templates": 4.9.x`
[npm-image]: https://badge.fury.io/js/drupal8-templates.svg
[npm-url]: https://npmjs.org/package/drupal8-templates