This module integrates the Kalastatic static site framework with Drupal, allowing dynamic Drupal assets like CSS and JS to be incorporated into static prototypes for testing. It also enables the static style guide to be pulled into Drupal, promoting portable and easily maintainable design across different systems.
Kalastatic is a static site framework for prototyping, style-guiding and building out CMS-less websites. This module integrates Kalastatic with Drupal.
Why?
For a prototype to be truly alive, it must co-exist with the dynamic assets generated by the CMS. When the user installs a module in Drupal, CSS and JS should be brought into the prototype context for regression testing on components and templates.
Conversely, the prototype as a canonical style guide should be pulled into the CMS. This approach ensures a portable and agnostic approach to design, and eases portability across multiple systems – avoiding re-implementation, and centralizing maintenance.
Features
- Provides pretty paths at /kalastatic
- Permissions for viewing your protoype
- A configurable path to Kalastatic resources
Requirements
In theory, none. In practice, this modules does nothing without Kalastatic, which we recommend residing inside your subtheme. We of course recommend Kalatheme as a base theme.
Installation
- Use Composer to install the module:
composer require 'drupal/kalastatic:^3.0@alpha' - Visit the Modules administration page at /admin/modules
- Enable the Kalastatic module
- Visit the Kalastatic configuration page at /admin/config/kalastatic
- Update the path to reference your Kalastatic build path
- Visit /admin/people/permissions to configure which user should have access to the prototype
- Visit /kalastatic to see your Kalastatic prototype
Ask your assistant about Kalastatic Drupal Integration
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 3.0.0-alpha5 | Pre-release | 9–10 | Oct 17, 2023 | ||
| 3.0.0-alpha4 | Pre-release | 9–10 | Sep 22, 2023 | ||
| 3.0.0-alpha3 | Pre-release | 9–10 | Sep 22, 2023 | ||
| 3.0.0-alpha2 | Pre-release | 9–10 | Sep 22, 2023 | ||
| 3.0.0-alpha1 | Pre-release | 9–10 | Sep 22, 2023 | ||
| 3.0.x-dev | Dev | 9–10 | Aug 1, 2023 |