我正在开发一个使用Vue2,VueRouter和Laravel 5.4的项目。这是一个单页面应用程序。用于API认证的Laravel Passport(来自我的Vue组件的AXIOS调用)。 大多数应用程序从一个刀片文件(像这样)服务: <?php
//styling and the like
//...
//components being loaded here
<router-vie
对于单页的应用程序,我想知道是否有可能要求新的广告,以取代现有的广告在一个div容器 var slotName = '/blogs/peter/recentPosts' // this changes according to route
var adContainer = 'div-common-container' // this never changes
window.googleta