Try ERPNext Buy Support Partners Foundation Foundation Members

Add Single Page Application to website portal page

My approach:

  • www/portal_page/* is dist.
  • build a “dist” using any JS framework
  • place index.html in www/portal_page/
  • edit index.html to link appropriate asset files served from public/js public/css
  • place js in public/js, place css in public/css
  • add a build.json, just a stub to symlink the directory and make assets available

Example repo (example frappe app + angular app)

check README for more.

1 Like


This link is somewhat relevant: How to import Vue components?