ammezie / laravel-chat

Build a chat app in Laravel
MIT License
124 stars 127 forks source link

input form and send button is hidden #6

Closed mombe090 closed 7 years ago

mombe090 commented 7 years ago

Please first congratulation and think for this tools. I have integrated it with this tutorial https://blog.pusher.com/how-to-build-a-laravel-chat-app-with-pusher/ but the input and the send button is hidden. Thanks to answer as soon as possible it's important for me

ammezie commented 7 years ago

Are you having some errors or something? Try looking at the console and vue-dev tool if you have it installed.

mombe090 commented 7 years ago

No errors the npm run dev gives this DONE Compiled successfully in 8635ms
But if i expect into my browser, here is the errors Vue is not defined Object.defineProperty.value @ app.js:855webpack_require @ app.js:20(anonymous function) @ app.js:845webpack_require @ app.js:20(anonymous function) @ app.js:63(anonymous function) @ app.js:66 thanks to help me

mombe090 commented 7 years ago

Think for ur answer i have fix it after 2days hard work

ammezie commented 7 years ago

Oh cool! Mind sharing how you fixed it in case others encounter same error.

mombe090 commented 7 years ago

Ok with the laravel 5.5 by default in the bootstrap.js file the vue include was missing. By comparing ur codes and mine i saw it? window.Vue = require('vue'); #was missing so vue library was not loading and compile to the app.js file.

DaniGuzman commented 5 years ago

hey, mine says Pusher and Laravel not defined , any help?