generate error in console while i run command npm watch app.js:36520 [Vue warn]: Property or method "task" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
---> <TaskList> at resources\assets\js\components\TaskList.vue
<Root>
warn @ app.js:36520
warnNonPresent @ app.js:37826
get @ app.js:37868
render @ app.js:47351
Vue._render @ app.js:40471
updateComponent @ app.js:38715
get @ app.js:39069
Watcher @ app.js:39058
mountComponent @ app.js:38722
Vue.$mount @ app.js:44467
Vue.$mount @ app.js:46866
init @ app.js:40064
createComponent @ app.js:41535
createElm @ app.js:41482
createChildren @ app.js:41609
createElm @ app.js:41511
createChildren @ app.js:41609
createElm @ app.js:41511
createChildren @ app.js:41609
createElm @ app.js:41511
patch @ app.js:42057
Vue._update @ app.js:38587
updateComponent @ app.js:38715
get @ app.js:39069
Watcher @ app.js:39058
mountComponent @ app.js:38722
Vue.$mount @ app.js:44467
Vue.$mount @ app.js:46866
Vue._init @ app.js:40567
Vue @ app.js:40656
(anonymous) @ app.js:13896
__webpack_require__ @ app.js:20
(anonymous) @ app.js:13869
__webpack_require__ @ app.js:20
(anonymous) @ app.js:63
(anonymous) @ app.js:66
app.js:44493 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
app.js:13797 GET http://localhost/tasks 404 (Not Found)
dispatchXhrRequest @ app.js:13797
xhrAdapter @ app.js:13631
dispatchRequest @ app.js:35726
Promise.then (async)
request @ app.js:35182
Axios.(anonymous function) @ app.js:35192
wrap @ app.js:13420
created @ app.js:47333
callHook @ app.js:38848
Vue._init @ app.js:40557
VueComponent @ app.js:40725
createComponentInstanceForVnode @ app.js:40237
init @ app.js:40058
createComponent @ app.js:41535
createElm @ app.js:41482
createChildren @ app.js:41609
createElm @ app.js:41511
createChildren @ app.js:41609
createElm @ app.js:41511
createChildren @ app.js:41609
createElm @ app.js:41511
patch @ app.js:42057
Vue._update @ app.js:38587
updateComponent @ app.js:38715
get @ app.js:39069
Watcher @ app.js:39058
mountComponent @ app.js:38722
Vue.$mount @ app.js:44467
Vue.$mount @ app.js:46866
Vue._init @ app.js:40567
Vue @ app.js:40656
(anonymous) @ app.js:13896
__webpack_require__ @ app.js:20
(anonymous) @ app.js:13869
__webpack_require__ @ app.js:20
(anonymous) @ app.js:63
(anonymous) @ app.js:66
app.js:13822 Uncaught (in promise) Error: Request failed with status code 404
at createError (app.js:13822)
at settle (app.js:35254)
at XMLHttpRequest.handleLoad (app.js:13696)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire