Vuedo是一个基于Laravel和Vue.js构建的开源博客项目。
2、网站
3、Github
https://github.com/Vuedo/vuedo
4、基本功能
- 管理文章和媒体文件
- 文章分类
- 用户权限
- 内容审核
- Markdown编辑器
- 集成Amazon S3
5、安装
首先从Github下载仓库代码。
进入项目根目录,将.env.example
重命名为.env
。然后运行如下命令:
composer install npm install php artisan migrate php artisan db:seed gulp php artisan serve
如果修改了JavaScript或者CSS文件记得运行gulp watch
。
为什么我报错
( ! ) Warning: require(/home/vagrant/Code/Vuelaravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/vagrant/Code/Vuelaravel/bootstrap/autoload.php on line 17
Call Stack
# Time Memory Function Location
1 0.0292 361248 {main}( ) …/index.php:0
2 0.0538 361576 require( ‘/home/vagrant/Code/Vuelaravel/bootstrap/autoload.php’ ) …/index.php:22
( ! ) Fatal error: require(): Failed opening required ‘/home/vagrant/Code/Vuelaravel/bootstrap/../vendor/autoload.php’ (include_path=’.:/usr/share/php’) in /home/vagrant/Code/Vuelaravel/bootstrap/autoload.php on line 17
Call Stack
# Time Memory Function Location
1 0.0292 361248 {main}( ) …/index.php:0
2 0.0538 361576 require( ‘/home/vagrant/Code/Vuelaravel/bootstrap/autoload.php’ ) …/index.php:22
执行完 gulp 命令 报错了
Error: Cannot find module ‘laravel-elixir’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Applications/MAMP/htdocs/vuedo/gulpfile.js:1:76)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
你现在这个项目能继续运行么?
怎么办 空白页