Migrate to 3.0
JavaScript setup changed
import "./stylesheets/application.scss"; // add this
import { createApp } from 'vue'
import MatestackUiVueJs from 'matestack-ui-vuejs'
import MatestackUiBootstrap from 'matestack-ui-bootstrap' // add this
const appInstance = createApp({})
MatestackUiBootstrap.registerComponents(appInstance) // add this
document.addEventListener('DOMContentLoaded', () => {
MatestackUiVueJs.mount(appInstance)
})ChartJs component (and any custom component) $refs definition and usage:
Flatpickr component (and any custom component) $el usage
Custom component (including ChartJs/Flatpickr) integration
Admin template class
Manually including the registry is not longer required
Last updated