The external js file in webpack depends on another js file (bootstrap-editable needs to reference moment)

using vue with webpack components to develop a single-page application, now encountered the following problems:
uses a third-party js library bootstrap-editable to achieve inline editing, in which for date, this library uses moment.js
I have installed the momentjs package, and there is no problem in creating a moment object in a component (eg:content.vue).
and when calling the following method in this component (content.vue)
clipboard.png

clipboard.png

clipboard.png

sourcemap:moment.js
clipboard.png

:

clipboard.png
ask colleagues to take a look at how to solve it. Thank you very much

Mar.16,2021
Have you import moment in

content.vue


encountered the same problem? has the problem been solved? It means that you have a big head for this problem

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40921-2c516.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40921-2c516.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?