laravel-vuejs-tasks
laravel-vuejs-tasks copied to clipboard
It's not working.
This repository is emoty, its showing nothing after cloning in my local system, see screenshot.
same here, doesn't working
First, in welcome.blade.php, put all your body code inside a div with id ="app" like so:
<body>
<div id="app">
<div class="container">
<tasks></tasks>
</div>
</div>
<script src="/js/app.js"></script>
</body>
This solve the problem of blank page.
For compatibility with new version of vue, modify the Tasks.vue like so:
<input v-model="task.body" ref="taskinput" type="text" name="body" class="form-control" autofocus>
Note the change of v-el: for ref
And in showTask, change this
this.$refs.taskinput.focus();
And the ready method to:
created: function() {
this.fetchTaskList();
}
All of this worked for me
I have tried your project and it works like a charm! Unable to do a file upload integration with this project where file can be anything not rigid to image upload only..
any help of code will be thankful.