This might be for Rob Tweed and or Ward Backer,
I've been revisiting QEWD. Nice to see it has evolved a bit. I am getting some difficulties in getting VueJS to work now in the new paradigm.
In summary:
- Using docker qewd
- Accessing a REST API directly in the browser works
- The basic helloworld qewd-app works
- VueJS as a separate app does not work
I'm not sure exactly why but it looks to me like a Cookie issue. I know that the browser security around CORS and Session Cookies was tightened up in 2023 and I suspect this is falling afoul of that change.
To use it:
- Edit the `docker-compose.yml` file to change the container image to suit your platform (it's currently for arm64).
- Run `docker-compose up` from the project root.
- Open a second terminal and browse into the `www/hellovue` folder.
- Run `npm install` or `yarn` from there (using node >v14)
- Run `npm run dev` or `yarn dev`
- You can then browse to `localhost:8080/qewd/helloworld` to see the working helloworld qewd-app.
- You can browse to `localhost:5173` to see the broken Vue implementation, which loads ok but clicking the send button doesn't actually manage to send a message to the qewd backend that can be processed.