1.我想用iVew的vue库;
2.但我想用jsp模板实现去实现,用模板去做
3.现在的难题就卡在了 <jsp:include page="./content.jsp"></jsp:include>
里面的jsp上,因为外面已经new 了一个 new Vue 了 ,如果嵌套了再 new Vue 的话 是会调到最外面的方法和data的,不具有模块意义了
请问该怎么做??
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
服务端最终组装的是一个html页面返回给browser,如果需要可以将content.jsp封装成vue template使用