-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I have composer.json one level up from web root and did not get it working following current instructions.
https://docs.carbonfields.net/#/plugin-quickstart
specifically
"extra": {
"installer-paths": {
"YOUR_DESIRED_LOCATION/vendor/{$vendor}/{$name}/": ["type:wordpress-plugin"]
}
}
It was not sufficient.
To get it working I did some tweaks:
1. I had to define base url
define('Carbon_Fields\URL', home_url('/vendor/htmlburger/carbon-fields-plugin'));
Add this to "Plugin Quickstart" please.
2. I had to manually copy build folder from
vendor/htmlburger/carbon-fields/
to
web/vendor/htmlburger/carbon-fields-plugin/
Something missing in composer install step I suppose.
Metadata
Metadata
Assignees
Labels
No labels