Deploying Angular Universal to Azure

后端 未结 3 1239
温柔的废话
温柔的废话 2020-12-06 15:01

I have an application which I have managed to convert to Angular Universal (at my clients request). I ran my application by using the command npm run serve:ssr

3条回答
  •  失恋的感觉
    2020-12-06 15:50

    I followed answer by r3plica, and I had to do a slight modification and move the dist/server to the root dir and all went well.

    If things do not work, always use node to point at server.js

    node 
    

    This tells you the most basic things you have gotten wrong

提交回复
热议问题