Files
rspade_system/app/RSpade/Integrations/Jqhtml/Jqhtml_Bundle.php
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00

33 lines
797 B
PHP
Executable File

<?php
namespace App\RSpade\Integrations\Jqhtml;
use App\RSpade\Core\Bundle\Rsx_Bundle_Abstract;
/**
* JQHTML Runtime Bundle
*
* Provides the JQHTML runtime JavaScript files needed for template rendering.
* The Jqhtml_BundleProcessor handles compilation of .jqhtml files separately.
*/
class Jqhtml_Bundle extends Rsx_Bundle_Abstract
{
/**
* Define the bundle configuration
*
* @return array Bundle configuration
*/
public static function define(): array
{
return [
'include' => [
__DIR__,
],
'npm' => [
'jqhtml' => "import jqhtml from '@jqhtml/core'",
'_Base_Jqhtml_Component' => "import { Jqhtml_Component } from '@jqhtml/core'",
],
];
}
}