Comments (11)
which version of laravel are you using?
from collapsible-resource-manager.
laravel 6.13.1 and latest nova v2.10.1
from collapsible-resource-manager.
try running composer dump-autoload
from collapsible-resource-manager.
Yes have tried. Still it is not working
from collapsible-resource-manager.
it seems the package wasn't auto-discovered, you can add DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManagerServiceProvider
into your providers
array inside your config\app.php
from collapsible-resource-manager.
OK never mind you have the wrong import it should be:
- App\Providers\CollapsibleResourceManager
+ DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManager
from collapsible-resource-manager.
Ok I have written below code inside app.php
'providers' => [
DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManagerServiceProvider::class,
],
'aliases' => [
//What should I write in this block?
],
from collapsible-resource-manager.
No need add the provider ... I read your first comment and I saw the provider
keyword there so I assumed it was that issue.. but looking better you were trying to importing CollapsibleResourceManager
but with the wrong namespace
from collapsible-resource-manager.
Still the same error
Check my code
public function tools()
{
return [
\Whitecube\NovaPage\NovaPageTool::make(),
new \ClassicO\NovaMediaLibrary\NovaMediaLibrary(),
new \Eminiarts\NovaPermissions\NovaPermissions(),
new CollapsibleResourceManager([
'navigation' => [
TopLevelResource::make([
'label' => 'Resources',
'resources' => [
\App\App\Nova\User::class
]
]),
]
])
];
];
}
from collapsible-resource-manager.
show me your entire file it should be DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManager
for the import
from collapsible-resource-manager.
Ok. I imported DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManager in NovaServiceProvider.php
It works fine.
Thank you so much
from collapsible-resource-manager.
Related Issues (20)
- Vertical menu? HOT 4
- Can you add icon support to MenuGroup? HOT 1
- Append HTML to the top of the collapsible block? HOT 2
- Link to a resource on root section click HOT 3
- Incorrect path MenuSection HOT 6
- Fix design issue
- Feature request: Ability to keep default notification & logout & theme
- Dashboards link doesn't works HOT 3
- There is an extra space between resources and menu not sure why? HOT 1
- Features request: nested navigation and panel width
- Menu doesn't scroll on mobile device HOT 6
- Iconset for menu? HOT 1
- Menu issue on mobile devices HOT 5
- Breaking word to a new line if menu item is too long HOT 2
- Collapsing doesn't work after release v2.0.5 HOT 1
- New feature: close side panel manually HOT 9
- Enable/Disable Toggle Switch HOT 3
- Collapse menu after refresh HOT 1
- Markdown field width split when attribute name is `content`
- Scroll is necesary for desktop too
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collapsible-resource-manager.