akiyamaSM/laravel-nova-configuration

Fail to load resources (script and style)

sabid opened this issue · 3 comments

sabid commented

This script and style not load, because the dist folder not exist.

Nova::script('laravel-nova-configuration', DIR.'/../dist/js/tool.js');
Nova::style('laravel-nova-configuration', DIR.'/../dist/css/tool.css');

configuration

files

My solution, in terminal.

cd vendor/inani/laravel-nova-configuration
npm install 
npm rum production

@sabid i did a pr #2
hopefully! 😉

I forgot to build the scripts 🤦🤦
Thaanks for the PR

I forgot to build the scripts 🤦🤦
Thaanks for the PR

Even if you build em, you need to unignore /dist directory. (See #2)