Closed MitchHynes closed 1 week ago
I think the page should be created in the nextJS environment, not the expressJS one, and the file structure should be "capstone\src\poc\client\poc-client\src\app\portal\page.tsx".
I am following this guide: https://nextjs.org/docs/app/getting-started/project-structure
Edit: file structure template has been merged into main.
Thanks, updated PR. Functionality looks like below video.
https://github.com/user-attachments/assets/4fdbed85-fcff-481e-9e39-37d7e63b528a
Adds a views subfolder to store pages. I was having trouble getting node to resolve the path to a views/portal.ejs page, so I put the html directly in the index.ts file.