本期视频登录后即可观看
Laravel 6.0 最新特性
5 集视频
31分钟
本期Laravel视频教程我们看一看Laravel 6.0版本带来的比较明显的一个变化,当我们需要构建用户脚手架系统时,过去的方式已经行不通了,咱们需要引入laravel ui这个辅助开发包,并且执行相应的命令才能生成用户脚手架,laravel之所以这么做,为的就是将UI进行独立的管理,以便进行更好的扩展和维护
难道我是第一个看的用户?
看得人很多,愿意陪我说说话的很少
php artisan ui vue --auth 省掉了migrate
哈哈,下次录视频用这个方法,能省一步算一步
我run sudo npm install 这个的时候总是出错, 能帮帮我吗? (win10 x64, VirtualBox 6.1.2, Vagrant 2.2.7)
vagrant@homestead:~/code/coco$ sudo npm install npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm WARN rollback Rolling back fsevents@1.2.11 failed (this is probably harmless): ETXTBSY: text file is busy, rmdir '/home/vagrant/code/coco/node_modules/fsevents/node_modules' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: minimist@1.2.0 (node_modules/fsevents/node_modules/rc/node_modules/minimist): npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/home/vagrant/code/coco/node_modules/fsevents/node_modules/rc/node_modules/minimist/package.json.374163688'
npm ERR! code EPROTO npm ERR! syscall symlink npm ERR! path ../@babel/parser/bin/babel-parser.js npm ERR! dest /home/vagrant/code/coco/node_modules/.bin/parser npm ERR! errno -71 npm ERR! EPROTO: protocol error, symlink '../@babel/parser/bin/babel-parser.js' -> '/home/vagrant/code/coco/node_modules/.bin/parser'
npm ERR! A complete log of this run can be found in: npm ERR! /home/vagrant/.npm/_logs/2020-02-17T10_45_21_835Z-debug.log
然后run sudo npm run dev 这个的时候 报一下错:
> @ dev /home/vagrant/code/coco > npm run development
> @ development /home/vagrant/code/coco > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
sh: 1: cross-env: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the @ development script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/vagrant/.npm/_logs/2020-02-17T10_48_36_516Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @ dev: `npm run development` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @ dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/vagrant/.npm/_logs/2020-02-17T10_48_36_542Z-debug.log
谢谢啦 大神
好吧 我弄了一个晚上 解决了 谢谢
解决了就好,家里事儿太多,顾不过来,我连电脑都没有了。
啊 这么惨啊.... 大神啊 有没有可能咱们加个微信啊 我这个菜鸟真的需要有人帮助啊
我只是个普通的站长而已,自己多帮自己吧,越是新手就越要自己去折腾,我基本不玩儿社交软件,我的微信就春节开放了一下,春节期间的博客里有我的微信。
我正在努力学习中... 微信我加您了 劳烦通过一下 我是Ryan - coding10的一个小学生
加油!!!