Young

3103 经验值

我也期待这个,Elasticsearch或者讲一下solr也行

jelly 希望你做一期,基于Laravel的前后台教程

最近有点产量偏低呀,咋突然沉寂了,微信也不发了,视频也不撸了

 Route::any('{all}', function () {
        return view('layout.master');
    })->where(['all' => '.*']);

我用的也是Laravel5.5+vuejs2.5,按照你的方法,然而并不能去除 # 符号

我也发现了删除的问题,只要修改前端的语法就解决了,修改如下两个文件:

main.js
removeTodo (store, {todo, index}) {
          Vue.axios.delete('http://laravel-vue.app/api/todo/'+ todo.id + '/delete').then(response => {
               console.log(response.data)
              store.commit('delete_todo',index)
          
          })
      },

todos.vue
  deleteTodo (todo, index){
              this.$store.dispatch('removeTodo', {todo, index})
          },

这位老铁果然稳,以后必成大器~~~

执行 valet install 之后 再次按照你的步骤操作还是不能访问laravel创建的项目,ping的时候依然是timeout,求解。。

没有呀,现在这个情况应该肿么解决

ping test.dev
PING test.dev (127.0.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
^C
--- test.dev ping statistics ---
8 packets transmitted, 0 packets received, 100.0% packet loss

执行ping test.dev 后也不能fang访问

我执行composer global require laravel/valet

得到下面的东西:Nothing to install or update。

Changed current directory to /Users/yonqing/.composer
Using version ^2.0 for laravel/valet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

请问这是什么问题。。。