Categories
apache aurelia javascript

How to deploy a web application Aurelia in an Apache server?

To try, I used the latest “aurelia-skeleton-navigation 1.0.0-beta.1.0.1”.

To deploy the Aurelia web application in an Apache server I used “gulp export” command and I copied the contents of the “export” in the “www/html/myapp” directory !

So, the welcome tab works fine, but not the “github users” tab !

The error is :

ERROR [app-router] Error: XHR error (404 Not Found) loading http://localhost/myapp/jspm_packages/github/github/[email protected]
Error loading http://localhost/myapp/jspm_packages/github/github/[email protected] as “github:github/[email protected]” from http://localhost/myapp/dist/users.js
Stack trace:
[email protected]http://localhost/myapp/jspm_packages/system.js:4:12750
e/http://localhost/myapp/jspm_packages/system.js:4:13275

what have I missed ?