The board is unstyled
Cause: Your application's Vite build doesn't load the design system, or the page is missing the board's inlined styles. The package ships no CSS build of its own.
Fix:
- Add
@import '@artisanpack-ui/css';to your main stylesheet (for exampleresources/css/app.css), asphp artisan ecommerce-kanban:installprints it. If the stylesheet also imports Tailwind,@layer theme, base, apui, components, utilities;must be its first line. The board's@sourcelines are optional. - Make sure
@artisanpack-ui/cssis installed.php artisan livewire-ui-components:install --assets=bundlersets up the design system if your app doesn't load it already. Tailwind isn't required. - Rebuild:
npm run build, or runnpm run dev. - The board inlines its own card, column, and filter-bar styles. If a board picker you embedded on its own page is unstyled, add
@include( 'ecommerce-kanban::partials.styles' )once to that page. See Embedding Components. - The standalone layout loads
resources/css/app.cssandresources/js/app.jsonly whenpublic/build/manifest.jsonor a Vite dev server exists. If your entries have other names, set them withap.ecommerceKanbanLivewire.layout.viteEntries.
See Front-End Setup.
Components look half-styled after upgrading to 2.0
Cause: daisyUI is still loaded, or the design system's layer order is missing.
Fix: If nothing else uses daisyUI, remove its @plugin "daisyui" blocks from your stylesheet and uninstall the daisyui package. If your stylesheet imports Tailwind, make @layer theme, base, apui, components, utilities; its first line, before @import 'tailwindcss';. Rebuild. See Upgrading.
Dialogs, drawers, or the card slide-out don't open
Cause: The design system's behavior engine isn't registered. The card actions menus, the filter bar's date pickers and comboboxes, and the tooltips need it too.
Fix: Install the package, register it in resources/js/app.js, then rebuild:
npm install --save-dev @artisanpack-ui/behavior@^1
import apuiBehavior from '@artisanpack-ui/behavior/alpine';
document.addEventListener( 'alpine:init', () => window.Alpine.plugin( apuiBehavior ) );
Cards can't be dragged
Cause: Drag-and-drop isn't loaded, or it is older than 2.1.0. Keyboard moves and their announcements come from the same package, so they stop working too.
Fix:
npm install @artisanpack-ui/livewire-drag-and-drop@^2.1.0
Add import '@artisanpack-ui/livewire-drag-and-drop'; to your main script and rebuild. If cards still don't drag, check that the user holds kanbanCard.move on the board: without it the board is read-only.
Every board returns 403
Cause: Nothing grants access yet. The engine denies every ability by default.
Fix: Define the umbrella gate in a service provider's boot(), or grant the individual abilities:
use Illuminate\Support\Facades\Gate;
Gate::define( 'ecommerce.admin', fn ( $user ): bool => $user->is_admin );
See Authorization.
A board returns 404
Cause: The board is switched off, and the user doesn't hold kanbanBoard.update, or the board doesn't exist.
Fix: Switch the board back on in the ecommerce admin or through the engine's REST API, or grant kanbanBoard.update to the staff who manage it. See Board Picker.
The picker says there are no boards
Cause: The picker lists only active boards the user holds kanbanBoard.view on. Either no active board exists yet, or the user may not view the ones that do.
Fix:
- If boards exist, check that they are active and that the user holds
kanbanBoard.viewon them. See Authorization. - Otherwise, create one in the ecommerce admin's Kanban boards screen, or with
POST /api/ecommerce/v1/kanban/boards. The board can't create one on its own. On a development database,php artisan ecommerce:seed-demoseeds a "Fulfillment" board.
The header says "Updates every 30 seconds" instead of "Live"
Cause: The board can't listen over Echo, so it polls. The engine's broadcasts are off, window.Echo is missing, the channel refused the subscription, or the broadcaster isn't running.
Fix: Set ECOMMERCE_KANBAN_BROADCAST=true, clear the config cache, set up Laravel Echo in your main script, and run the broadcaster and a queue worker. php artisan ecommerce-kanban:install reports what is missing. See Broadcasting with Echo.
A toast says "Too many changes in a short time"
Cause: The user went over the engine's ecommerce.admin.mutate rate limit (120 changes a minute by default). The change didn't run.
Fix: Wait the number of seconds the toast gives, then try again. Raise the limit with ECOMMERCE_RATE_ADMIN_MUTATE_PER_USER if your staff hit it in normal work. See Rate limits.
A move is refused and the card jumps back
Cause: The engine refused the move: the column is at its WIP limit, the order's status can't make that transition, or a satellite's ap.ecommerce.kanban.cardMoving hook vetoed it.
Fix: Read the toast. It names the reason. See Why a move is refused.
Board links and the switcher are missing
Cause: The package's routes are off (board.routes_enabled is false) and nothing supplies a board URL, so the picker lists boards without links and the switcher and new-tab links are left out.
Fix: Return your own URLs from the ap.ecommerceKanbanLivewire.boardUrl and ap.ecommerceKanbanLivewire.pickerUrl filters. See Embedding Components.
Classes from cardClasses have no effect
Cause: Nothing styles the classes. The board only styles its own ec-kb-* classes, and daisyUI colors such as border-l-warning no longer exist in 2.0. With Tailwind utilities, Tailwind only generates classes it finds in your sources.
Fix: Add a rule for your class to your main stylesheet, built on the design tokens, for example .ec-kb-card.shop-card-large { border-inline-start: 4px solid var(--apui-color-warning); }. If you return Tailwind utilities instead, add the file that returns them to your Tailwind @source lines. Rebuild. See Hooks.
The board renders but nothing works under a Content Security Policy
Cause: The board's Alpine expressions need Alpine's standard build ('unsafe-eval') and inline style attributes. Alpine's CSP build and Livewire 4's csp_safe mode don't evaluate them, so nothing drags, columns don't load, and dialogs don't close.
Fix: Allow 'unsafe-eval' in script-src and 'unsafe-inline' in style-src-attr on the board's pages, and turn csp_safe off for them. See Content Security Policy.
A fix from a new release doesn't show up
Cause: A published view in resources/views/vendor/ecommerce-kanban shadows the package's copy.
Fix: Delete the published views you didn't change, and compare the ones you did with the package's current copies. See Extending.

