Automatically add javascript SPAs
See original GitHub issueWhat should we add or change to make your life better?
It would be really cool if Tye recognised javascript SPAs (e.g. React-frontends) that are part of the folder structure. Tye would include them when you use tye run
and display them in the dashboard.
Currently I would either create a Dockerfile to generate an image and instruct Tye to use it or run “npm start” and “tye run” simultaneously while adding an ingress to tye.yaml and configure the frontend to use it. If I was a beginner I would have loved to have Tye do this for me.
Why is this important to you?
Lots of projects I hear about from colleagues use different .NET backend services together with a React/Angular/Vue frontend. These would be deployed on the same cluster as part of the microservice-project. Including SPAs to tye would take away further difficulty for newcomers.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:7 (6 by maintainers)
Top GitHub Comments
Being able to call ‘npm start’ or some NPM command as a tye service would be tremendous
Please concider that teams just do not open Visual Studio for SPA (they don’t want to)
They higthly uses VsCode and just “Open Folder” That’s why simply relying on the presence of the
package.json
should be concidered as a “first citizen”Also it’s probably possible to also look for vsproj or anything else. For example, as of today the
tye init
adds litereally everything that can starts, well that would just be “one more entry” 😄