generated from boboko/starter
Feat: Correctly extracting boboko/core's js
This commit is contained in:
+4
-3
@@ -10,13 +10,14 @@ window.Turbo.session.drive = false;
|
||||
|
||||
import { Application } from "@hotwired/stimulus";
|
||||
import { registerControllers } from "./stimulus/index";
|
||||
import { registerCheckout } from "./checkout";
|
||||
import { registerCheckout } from "@boboko/core";
|
||||
|
||||
const application = Application.start();
|
||||
application.debug = false;
|
||||
|
||||
registerControllers(application);
|
||||
|
||||
// Portable cart + checkout module (destined for boboko-core). Owns its own
|
||||
// bbk-* Stimulus controllers; this is the only wiring line it needs here.
|
||||
// Portable cart + checkout module, installed as a real npm dependency (see
|
||||
// package.json). Owns its own bbk-* Stimulus controllers; this is the only
|
||||
// wiring line it needs here.
|
||||
registerCheckout(application);
|
||||
|
||||
Reference in New Issue
Block a user