Log message #4226048

# At Username Text
# Feb 10th 2020, 20:51 btx or really any JS front-end with two-way data binding capabilities for dynamic UIs
# Feb 10th 2020, 20:46 btx anyone know any good tutorials/posts on VueJS front-end with CakePHP API backend? Seems like I’m always duplicating logic for the front-end. I’m sure there’s a more stable way to approach this.
# Feb 10th 2020, 15:48 FunkadelicRelic @ndm - Good spot - thanks. I think the @beta installs that old version then. Specifying :3.0.0-beta seemed to do the trick - just need to install NPM for the install to work. I'm going to give that a go now. Thank you!
# Feb 10th 2020, 15:40 ndm Try `composer require friendsofcake/bootstrap-ui:3.*` or `composer require friendsofcake/bootstrap-ui:3.0.0-beta`, assuming your minimum stability setting allow that.
# Feb 10th 2020, 15:40 ndm Well that's certainly a little outdated :)
# Feb 10th 2020, 15:39 FunkadelicRelic I'm showing v0.3.2 installed.
# Feb 10th 2020, 15:36 ndm You can check your `composer.lock` file, the `friendsofcake/bootstrap-ui` entry should show you the exact version number
# Feb 10th 2020, 15:33 FunkadelicRelic Hmm, not entirely no. I'm installing using composer require friendsofcake/bootstrap-ui @beta. Is there a way I can check?
# Feb 10th 2020, 15:33 ndm Are you sure that correct BS UI plugin version is installed?
# Feb 10th 2020, 15:31 ndm Then I don't really know...
# Feb 10th 2020, 15:29 FunkadelicRelic Migrations
# Feb 10th 2020, 15:29 FunkadelicRelic WyriHaximus/TwigView
# Feb 10th 2020, 15:29 FunkadelicRelic DebugKit
# Feb 10th 2020, 15:29 FunkadelicRelic BootstrapUI
# Feb 10th 2020, 15:29 FunkadelicRelic Bake
# Feb 10th 2020, 15:29 FunkadelicRelic @ndm - Yes. It is listed.
# Feb 10th 2020, 15:29 FunkadelicRelic Just tried on a brand new project too - same issue on the bin/cake bootstrap install.
# Feb 10th 2020, 15:29 ndm Does BootstrapUI appear in `bin/cake plugin loaded`?
# Feb 10th 2020, 15:24 FunkadelicRelic I also see this: $this->addPlugin('BootstrapUI'); - added to my application.php file.
# Feb 10th 2020, 15:24 FunkadelicRelic - bake test
# Feb 10th 2020, 15:24 FunkadelicRelic - bake task
# Feb 10th 2020, 15:24 FunkadelicRelic - console
# Feb 10th 2020, 15:24 FunkadelicRelic - routes
# Feb 10th 2020, 15:24 FunkadelicRelic Other valid choices:
# Feb 10th 2020, 15:24 FunkadelicRelic @ndm - I don't see bootstrap in the list off commands no - on that last error - I get: Unknown command `cake bootstrap`. Run `cake --help` to get the list of commands.
# Feb 10th 2020, 15:19 ndm @FunkadelicRelic That sounds like the plugin actually isn't loaded. Do you see the bootstrap command in the list of available commands? Was the `addPlugin()` call actually added to your `Appplication` class?
# Feb 10th 2020, 15:18 ndm you're welcome
# Feb 10th 2020, 15:17 challgren Ty very much
# Feb 10th 2020, 15:15 challgren Cool I’ll check it out. I think my brain is fried
# Feb 10th 2020, 15:14 slackebot <ndm>
# Feb 10th 2020, 15:14 ndm btw, I've update my Bootstrap UI test app that I've used for development to CakePHP 4.x / BS UI 3.x, might be helpful if you're struggling with things, it shows you all controls, generated HTML, config, etc. https://github.com/ndm2/bootstrap-ui-test-app/tree/foc-3.x
# Feb 10th 2020, 15:13 challgren Ok, yeah this theme is a PITA. But with your hack it works and loads really fast since it doesnt have to redraw the menu
# Feb 10th 2020, 15:12 ndm @challgren No problem... I'll look into making this a little easier. Making the `<ul>` inherit the ancestor class is certainly doable, but I'll have to double triple check on how to do it, and the possible side effects
# Feb 10th 2020, 15:12 FunkadelicRelic Are the instructions wrong? Or have I missed something important?
# Feb 10th 2020, 15:11 challgren Thanks @ndm
# Feb 10th 2020, 15:11 challgren :parrotparty: it works!!!
# Feb 10th 2020, 15:09 FunkadelicRelic bin/cake bootstrap install - this doesn't work - I get the error 'Unknown command `cake bootstrap`. Run `cake --help` to get the list of commands.'.
# Feb 10th 2020, 15:09 FunkadelicRelic bin/cake plugin load BootstrapUI - this works.
# Feb 10th 2020, 15:09 ndm ``` $matcher = new Matcher(); $matcher->addVoter(new UrlVoter($this->request)); $this->Menu->setConfig([ 'renderer' => new AppRenderer($matcher) ]);
# Feb 10th 2020, 15:09 FunkadelicRelic composer require friendsofcake/bootstrap-ui @beta - this works.
# Feb 10th 2020, 15:08 FunkadelicRelic Still struggling with the bootstrap-ui install I'm afraid. I'm following the guide on GitHub for the cake-4-bs-4 branch and doing the following: