I\'ve been using Wakanda v2 server for a few months now. I\'m using Angular (v2+ not angularJS) for the front end.
I finally got to the point where I want to publish my
This feature is under hard work and schedule for the v2.2
release.
In the meantime, you can do these steps manually:
web
folder in terminal. Right click on web
folder, then select open in terminal
npm run build
. A dist
folder is createddist
folder into the backend
projectdist
folder in the backend
project as the WebFolder
. Right click on it, then select set as active webfolder
.You can have issue with the angular URL strategy. The #
angular is not understood by Wakanda Server. Therefor, you can add useHash: true
in the /src/app/app.module.ts
.
RouterModule.forRoot(routes, { useHash: true })
Source: https://github.com/Wakanda/wakanda-issues/issues/137