0
我在Vuejs上有單頁面應用程序,主頁面在localhost /上。我想製作管理面板。我創建了新的組件Bots,併爲其'localhost/panel/bot'路由。當我打開這個網頁我recived錯誤Vue.js與路由問題
http://localhost/panel/index.js
,因爲我在我的主模板有鏈接的應用程序
<script type="text/javascript" src="index.js"></script>
。
如何解決此問題? 謝謝!