I spent a lot of time on trying to make this work with angularjs, without great success. From what I understand, it can work with webpack (not in all cases) at least if we do
import angular from 'angular';
in all the files. Then remove all the iife, require all the controllers in all the components, etc...
Even with that, there are full page reloads, state is lost, etc.
I spent a lot of time on trying to make this work with angularjs, without great success. From what I understand, it can work with webpack (not in all cases) at least if we do
in all the files. Then remove all the iife, require all the controllers in all the components, etc... Even with that, there are full page reloads, state is lost, etc.
I tested it on the account SPA, and for the record branch is here https://github.com/chamerling/esn-frontend-account/tree/hmr