auto-registering blocks in php and javascript with dynamic enqueuing of associated styles and scripts with support for scss and blade
This commit is contained in:
2
resources/views/blocks/example/view.js
Normal file
2
resources/views/blocks/example/view.js
Normal file
@@ -0,0 +1,2 @@
|
||||
// block.json's viewScript, applied on front end only
|
||||
console.log('loaded: resources/views/blocks/example/view.js')
|
||||
Reference in New Issue
Block a user