Postingan lainnya
Buku Ini Koding!
Baru!
Buku ini akan jadi teman perjalanan kamu belajar sampai dapat kerjaan di dunia programming!
gagal nampilin data pake frame work laravel dan vuejs
ini knapa ya gan, mohon dibantu gan saya masih ingusan.
saya udah cek dikonsolnya dan kaya gini dahh errornya :
unreachable code after return statement[Learn More] app.js:41640:2 "CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token" app.js:840:3 unreachable code after return statement[Learn More] app.js:41640:2 "[Vue warn]: data functions should return an object: https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function
found in
---> at C:\xampp\htdocs\theLast5\resources\assets\js\components\Employe.vue " app.js:32092:7 [Vue warn]: Property or method "model" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
found in
---> at C:\xampp\htdocs\theLast5\resources\assets\js\components\Employe.vue app.js:32092:7 [Vue warn]: Error in render function: "TypeError: _vm.model is undefined"
found in
---> at C:\xampp\htdocs\theLast5\resources\assets\js\components\Employe.vue app.js:32092:7 TypeError: _vm.model is undefined Stack trace: render@http://localhost:8000/js/app.js:41668:31 renderMixin/Vue.prototype._render@http://localhost:8000/js/app.js:35561:15 updateComponent@http://localhost:8000/js/app.js:34097:18 get@http://localhost:8000/js/app.js:34436:13 Watcher@http://localhost:8000/js/app.js:34419:7 mountComponent@http://localhost:8000/js/app.js:34101:17 Vue$3.prototype.$mount@http://localhost:8000/js/app.js:39229:10 Vue$3.prototype.$mount@http://localhost:8000/js/app.js:41328:10 init@http://localhost:8000/js/app.js:35016:7 createComponent@http://localhost:8000/js/app.js:36559:9 createElm@http://localhost:8000/js/app.js:36502:9 createChildren@http://localhost:8000/js/app.js:36630:9 createElm@http://localhost:8000/js/app.js:36535:9 patch@http://localhost:8000/js/app.js:37001:9 lifecycleMixin/Vue.prototype._update@http://localhost:8000/js/app.js:33974:16 updateComponent@http://localhost:8000/js/app.js:34097:7 get@http://localhost:8000/js/app.js:34436:13 Watcher@http://localhost:8000/js/app.js:34419:7 mountComponent@http://localhost:8000/js/app.js:34101:17 Vue$3.prototype.$mount@http://localhost:8000/js/app.js:39229:10 Vue$3.prototype.$mount@http://localhost:8000/js/app.js:41328:10 initMixin/Vue.prototype._init@http://localhost:8000/js/app.js:35668:7 Vue$3@http://localhost:8000/js/app.js:35753:3 @http://localhost:8000/js/app.js:796:11 __webpack_require__@http://localhost:8000/js/app.js:20:12 @http://localhost:8000/js/app.js:768:1 __webpack_require__@http://localhost:8000/js/app.js:20:12 @http://localhost:8000/js/app.js:63:18 @http://localhost:8000/js/app.js:1:11 app.js:32181:7 "You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html"
1 Jawaban:
disini sudah jelas gan : CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token" app.js:840:3
pada kode baris 840 token nya tidak ditemukan
ohiya kalau bisa pake gambar gan koding nya yang dimana dan gambar errornya :D
**cmiiw