Javascript module

FilamentAsset::register([
    Js::make('print-js', resource_path('js/print-js.js'))->module(),
]);


Uncaught TypeError: Failed to resolve module specifier "print-js". Relative references must start with either "/", "./", or "../".
Was this page helpful?