00 Day
00 Hour
00 Min
00 Sec

Building/Compiling .vue files

Home Forums Accounting Building/Compiling .vue files

Viewing 2 reply threads
  • Author
    Posts
    • #52663
      Adrian Wijasa
      Participant

      Hello,

      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?

      Thanks,

      Adrian

    • #52717
      Jay
      Participant

      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’.

      Thanks

    • #53390
      Adrian Wijasa
      Participant

      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

      Thanks,

      Adrian

Viewing 2 reply threads
  • The forum ‘Accounting’ is closed to new topics and replies.

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 query

We will reply to you very soon :)