我读过的关于Vue的资源都没有试图解释Vue应用程序是如何启动的。这里涉及三个文件: public/index.html、src/main.js和src/App.vue。使用vue cli 4.1.1创建的scaffold包含这个index.html,它显然是入口点: <!properly without JavaScript enabled.-- built f
我想复制Vue.js生成的dist文件夹,并在symfony路由上提供它,我尝试了:vue: controller: App\Controller\ApiController::vue requirements:ApiController.php
public function vue/public/dist/index.html'