Sha256: 1e96d252f44e6f7424dfe289149614d11940dcc3231a9e52ad607235fb2b6dca
Contents?: true
Size: 1.5 KB
Versions: 4
Compression:
Stored size: 1.5 KB
Contents
// // Initialize Dashboard class Dashboard { constructor() { console.log("Spree Dashboard Initialized") } } // // Import JavaScript packages that are required globally. import { Application } from "@hotwired/stimulus" import flatpickr from "flatpickr" import * as Turbo from "@hotwired/turbo" // To disable Turbo, un-comment the line below. // Turbo.session.drive = false // // Import Utility JavaScript required globally. import "./utilities/bootstrap" // // Stimulus - Setup const application = Application.start() application.debug = false window.Stimulus = application // Stimulus - Spree Controllers import UploadButtonController from "./controllers/upload_button_controller" application.register("upload-button", UploadButtonController) import SpreeController from "./controllers/spree_controller" application.register("spree", SpreeController) import SortableTreeController from "./controllers/sortable_tree_controller" application.register("sortable-tree", SortableTreeController) import WebhooksSubscriberEventsController from "./controllers/webhooks_subscriber_events_controller" application.register("webhooks_subscriber_events", WebhooksSubscriberEventsController) import PasswordToggleController from "./controllers/password_toggle_controller" application.register("password-toggle", PasswordToggleController) import ClipboardController from "./controllers/clipboard_controller" application.register("clipboard", ClipboardController) // // Export export { Dashboard, application, flatpickr, Turbo }
Version data entries
4 entries across 4 versions & 1 rubygems