# fluent-cart/1.6.4/app/Modules/Shipping/Http/Handlers/ScriptHandler.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 16 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Modules/Shipping/Http/Handlers/ScriptHandler.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/app/Modules/Shipping/Http/Handlers/ScriptHandler.php
- Modified: 2025-10-14T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Modules/Shipping/Http/Handlers/ScriptHandler.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Modules\Shipping\Http\Handlers;

use FluentCart\App\Vite;

class ScriptHandler
{
    public function register()
    {
        add_action('fluent_cart/loading_app', function () {
            Vite::enqueueScript('fluent_cart_shipping', 'admin/Modules/Shipping/shipping.js');
        });
    }
}

```
