laravel-vuejs-tasks icon indicating copy to clipboard operation
laravel-vuejs-tasks copied to clipboard

It's not working.

Open Riyazkhan1989 opened this issue 8 years ago • 3 comments

This repository is emoty, its showing nothing after cloning in my local system, see screenshot. localhost screen capture 2016-10-29_15-06-55

Riyazkhan1989 avatar Oct 29 '16 09:10 Riyazkhan1989

same here, doesn't working

jaasaria avatar Nov 23 '16 10:11 jaasaria

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

fmarmo90 avatar Dec 02 '16 01:12 fmarmo90

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.

findelallc avatar Jul 09 '17 10:07 findelallc