I use Visual Studio 2013 and I have installed the Node Tools for Visual Studio.
I have also reviewed this question here at How to mix Node.js and Typescript in the same Visual Studio project?
The issue I am facing is that I am stuck trying to figure out how to set up the project.
On the examples and books I have read, what they do, is basically just put everything into a chat
folder with a server.js
and index.js
file and then run the server and then navigate to the page.
I understand this process. I think I could even perhaps work out some hand rolled process with grunt.
But I want to use visual studio but both of my plans for doing so are blocked.
- You cannot have a TypeScript project with both AMD and CommonJS module systems in it. This makes sense.
- You can create
chat
solution withclient
andserver
but now you have disconnected one from the other in an awkward way. Running my client depends on the server running and hosting my client! This is just weird so I guess it is wrong.
Can someone take the time to clear this up for me? How would YOU structure a Chat application in Visual Studio in TypeScript?
Thanks for reading!