Custom Chart Widget

Hello, I'm trying to create a widget that loads dinamicaly a different number of charts, but I couldn´t get javascript code injected. this should work, no? -- nps-chart-widget.blade.php -- @push('scripts') <script> console.log('eiajeijaioe'); </script> @endpush
1 Reply
Darkavatar23
Darkavatar233w ago
use @script

Did you find this page helpful?