app/assets/js/book.js in coveragebook_components-0.14.0 vs app/assets/js/book.js in coveragebook_components-0.15.0

- old
+ new

@@ -1,8 +1,9 @@ -import { registerComponents } from "@helpers/alpine"; -import { Alpine } from "./base/setup"; +import "./base/polyfills"; +import Coco from "./coco/coco"; +import baseComponents from "./base/components"; +import bookComponents from "@bookComponents/**/*.js"; -import components from "@components/!(app)/**/*.js"; +Coco.registerComponents(baseComponents); +Coco.registerComponents(bookComponents); -registerComponents(components); - -Alpine.start(); +export default Coco;