做网站设计的有些什么职位,网站建设在作用是什么,深圳网站建设制作优化,龙岩小程序设计这次的团队开发是#xff0c;前端开发人员和后台开发人员完全分开开发的。
前端开发采用了Angular4#xff0c;webstorm
后端开发采用了#xff1a;springspringmvcmybatis#xff0c;eclipse
---------------------------------------
最后要整合了。 1、angular项目编…这次的团队开发是前端开发人员和后台开发人员完全分开开发的。
前端开发采用了Angular4webstorm
后端开发采用了springspringmvcmybatiseclipse
---------------------------------------
最后要整合了。 1、angular项目编译 会生成 dist 文件夹。 2、拷贝dist文件夹到eclipse项目文件里 3、修改dist/index.html的base href
改为项目名文件名
/doapplication/dist/
base href/doapplication/dist/ 4、springmvc文件里增加mvc:resources 节点配置
mvc:resources location/dist/ mapping/dist/** / 5、运行访问
http://localhost:8080/doapplication/dist/index.html ----------2018-01-04---补充 现在我们更简单的方法是angular编译后的 dist 文件夹修改dist/index.html的base href 改为项目名文件名 /doapplication/dist/ base href/doapplication/dist/ 放到同一个tomcat的webapp下后台代码不用做任何修改和配置启动tomcat直接可以访问。 访问路径/项目名/dist/index.html