Yeoman inside ExpressJS

前端 未结 6 848
暖寄归人
暖寄归人 2020-12-23 12:05

I\'d still like to try to get an example running w/ Yeoman and Express.

I tried the following and it worked \"okay\", but I\'m stuck merging the routes. (over simpl

6条回答
  •  情话喂你
    2020-12-23 12:53

    I would comment on @btford 's answer if I had the reputation -

    Just wanted to add that installing express . after yo angular will overwrite the grunt-created package.json file which will break grunt as @jjperezaguinaga reported.

    Make sure to save a copy of package.json before installing express .. Then add the following dependencies to the original package.json:

    "dependencies" : { 
      "express": "3.3.4",
      "jade": "*"
    }
    

提交回复
热议问题