Log1x/crumb

Installation in sage / bedrock ?

Specialistinwebsites opened this issue · 4 comments

Apologies in advance for any misunderstandings. I'm trying to install this to my Sage10 app, but can't seem to get it to work.

Installing it to sage gives me the option to release the config file, but gives a "base_path" error.

Call to undefined function Illuminate\Foundation\Console\base_path()

Installing it to bedrock lets phpstorm recognize the class "Log1x\Crumb\Facades\Crumb;" in "View/Components/Breadcrumb.php", but gives an error when compiling;

Class 'Crumb' not found

Any help would be appriciated!

Log1x commented

This should work without any issues on the latest version of Acorn.

Acorn 2.0.5 seems to be the latest version right now and it gives the same error. What causes it?

Also running wp acorn vendor:publish --provider="Log1x\Crumb\CrumbServiceProvider"

says

No publishable resources for tag [].
Publishing complete.

Before publishing the CrumbServiceProvider, run wp acorn optimize:clear. Worked for me.

@turpoint that did work. Thanks a lot!