mirror of
https://github.com/jonom/silverstripe-betternavigator.git
synced 2024-10-22 14:05:51 +02:00
Conversion to a Vendor Module (#40)
This commit is contained in:
parent
39d1aed274
commit
cd9c2083c8
@ -4,7 +4,7 @@ After: 'framework/*, cms/*'
|
||||
---
|
||||
SilverStripe\Admin\LeftAndMain:
|
||||
extra_requirements_javascript:
|
||||
- 'betternavigator/javascript/BN.LeftAndMain.Preview.js'
|
||||
- 'jonom/silverstripe-betternavigator: javascript/BN.LeftAndMain.Preview.js'
|
||||
SilverStripe\CMS\Controllers\ContentController:
|
||||
extensions:
|
||||
- JonoM\BetterNavigator\Extension\BetterNavigatorExtension
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jonom/silverstripe-betternavigator",
|
||||
"description": "Front-end utility menu for SilverStripe websites featuring administration and development tools",
|
||||
"type": "silverstripe-module",
|
||||
"type": "silverstripe-vendormodule",
|
||||
"keywords": [
|
||||
"silverstripe",
|
||||
"navigator",
|
||||
@ -19,7 +19,12 @@
|
||||
"silverstripe/framework": "^4.0"
|
||||
},
|
||||
"extra": {
|
||||
"installer-name": "betternavigator"
|
||||
"installer-name": "betternavigator",
|
||||
"expose": [
|
||||
"css",
|
||||
"images",
|
||||
"javascript"
|
||||
]
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<% require javascript("betternavigator/javascript/betternavigator.js") %>
|
||||
<% require css("betternavigator/css/betternavigator.css") %>
|
||||
<% require javascript("jonom/silverstripe-betternavigator: javascript/betternavigator.js") %>
|
||||
<% require css("jonom/silverstripe-betternavigator: css/betternavigator.css") %>
|
||||
|
||||
<div id="BetterNavigator" class="collapsed">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user