-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Make this so that it self registers with Laravel and create a config file that can be published that gives a spot to register scripts & styles and enqueue as well.
Something like this. Can register with a name and just the url, or optionally include any dependencies and the version.
return [
'scripts' => [
'register' => [
'jquery' => 'https://path/to/jquery',
'simplemde' => 'https://path/to/simplemde',
'another' => [
'url' => 'https://where.ever.it.is',
'dependencies' => ['jquery', 'simplemde'],
'version' => '1.2.3'
]
],
'enqueue' => [
'jquery'
]
],
'styles' => [
'register' => [
'bootstrap' => 'https://path/to/bootstrap',
'another' => [
'url' => 'https://path/to/it',
'dependencies' => ['bootstrap']
]
],
'enqueue' => [
'another'
]
]
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels