unitedworx
839
5
Vue

fresh laravel setup and vue 2 wont work :(

Posted 2 years ago by unitedworx

I cant get vue 2 running on my setup so I even setup a new empty laravel project and I am still getting [Vue warn]: Cannot find element: #app

and I do have an element in my template!

basically I just setup a fresh laravel setup using composer create-project --prefer-dist laravel/laravel blog run npm install and then gulp and then simply added <script type="text/javascript" src="js/app.js"></script> in the head in welcome.blade.php along with <div id="app"> <example></example></div> inside the body but still cant get it to work :(

Anyone else having a hard time with vue 2 on a fresh laravel setup?

Please sign in or create an account to participate in this conversation.