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:
|
SilverStripe\Admin\LeftAndMain:
|
||||||
extra_requirements_javascript:
|
extra_requirements_javascript:
|
||||||
- 'betternavigator/javascript/BN.LeftAndMain.Preview.js'
|
- 'jonom/silverstripe-betternavigator: javascript/BN.LeftAndMain.Preview.js'
|
||||||
SilverStripe\CMS\Controllers\ContentController:
|
SilverStripe\CMS\Controllers\ContentController:
|
||||||
extensions:
|
extensions:
|
||||||
- JonoM\BetterNavigator\Extension\BetterNavigatorExtension
|
- JonoM\BetterNavigator\Extension\BetterNavigatorExtension
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jonom/silverstripe-betternavigator",
|
"name": "jonom/silverstripe-betternavigator",
|
||||||
"description": "Front-end utility menu for SilverStripe websites featuring administration and development tools",
|
"description": "Front-end utility menu for SilverStripe websites featuring administration and development tools",
|
||||||
"type": "silverstripe-module",
|
"type": "silverstripe-vendormodule",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"silverstripe",
|
"silverstripe",
|
||||||
"navigator",
|
"navigator",
|
||||||
@ -19,7 +19,12 @@
|
|||||||
"silverstripe/framework": "^4.0"
|
"silverstripe/framework": "^4.0"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"installer-name": "betternavigator"
|
"installer-name": "betternavigator",
|
||||||
|
"expose": [
|
||||||
|
"css",
|
||||||
|
"images",
|
||||||
|
"javascript"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<% require javascript("betternavigator/javascript/betternavigator.js") %>
|
<% require javascript("jonom/silverstripe-betternavigator: javascript/betternavigator.js") %>
|
||||||
<% require css("betternavigator/css/betternavigator.css") %>
|
<% require css("jonom/silverstripe-betternavigator: css/betternavigator.css") %>
|
||||||
|
|
||||||
<div id="BetterNavigator" class="collapsed">
|
<div id="BetterNavigator" class="collapsed">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user