Building/Compiling .vue files

Front Page Forums Accounting Building/Compiling .vue files

Viewing 2 reply threads
  • Author
    • #52663
      Adrian Wijasa


      I’m trying to customize the .vue files in erp/modules/accounting/assets/src/admin/components.

      What are the tools, commands, and steps you use to build/compile the files above into erp/modules/accounting/assets/js/admin.js?



    • #52717
      Mehedi Hasan

      Hello Adrian,

      The file …../erp/modules/accounting/assets/js/admin.js/ will be reset and get your customization removed once WPERP gets updated. So, this is not an appropriate way to customize the plugin.

      Anyway, compiling process is kinda hard unless you are a Pro developer. You need to have Node installed. Then you’ll need to run ‘npm install’ command, then ‘npm run build’.


    • #53390
      Adrian Wijasa

      Got it! Thanks for the pointer. I think I managed to run it successfully. I will also make sure that the changes won’t get overwritten by a new WP ERP version (will merge my customizations every time).

      The exact command I used was npx webconfig --config webpack.config.js



Viewing 2 reply threads
  • You must be logged in to reply to this topic.

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your message

We will reach you with your email address soon. Thank you for the time!