Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to build mdb-vue-calendar.es.min.js file?

박진호 priority asked 1 year ago


I customized the calendar plugin, but it's not changed

Changed default value of props in "calendar/src/components/MDBCalendar/MDBCalendar.vue" file.

ex) todayCaption: { type: String, default: "오늘", },

It was changed by modifying todayCaption in the "mdb-vue-calendar.es.min.js" file.

How can I make the changes in "MDBCalendar.vue" apply to "mdb-vue-calendar.es.min.js"

Thanks for the reply.


Bartosz Cylwik staff answered 1 year ago


Hi! Did you copy the calendar files to your project? If editting mdb-vue-calendar.es.min.js won't work, try to edit MDBCalendar.vue.

Use the new, custom component by importing:

import { MDBCalendar } from "./path/to/the/edited/MDBCalendar.vue";

Instead of

import { MDBCalendar } from "mdb-vue-calendar";

Best Regards!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.2.0
  • Device: desktop
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No