Can I use quasar date util in main-process of electron solution?



  • The quasar date utils is useful but it likely only can used in front end javascript( chrome side).
    I create a electron project that use quasar-cli building.
    Then try to use quasar’s date util in main-process, but it always show an error bellow:

    TypeError: date.getDateDiff is not a function.

    or actually it can’t use in main-process( CommonJs module) scenario. is it?


Log in to reply