Home  >  Article  >  PHP Framework  >  Introduction to using laravel to quickly build vuepress manager

Introduction to using laravel to quickly build vuepress manager

藏色散人
藏色散人forward
2020-05-13 13:48:502732browse

The following is developed by LaravelThe introductory tutorial column introduces how to quickly build a vuepress manager using laravel. I hope it will be helpful to friends in need. !

Introduction to using laravel to quickly build vuepress manager

Use laravel to quickly build vuepress manager

Introduction

Just learned it It feels very convenient to download laravel. I have also been using vuepress for my personal blog recently, but I feel that it is not particularly convenient to write and manage articles every time, so I used laravel to write this vuepress cms manager. It can be placed locally on the computer and it is very convenient to change the host. It is very convenient to edit articles, create files, and push to the warehouse.

Independent articles and files, even if you do not use the vuepress theme, can also be managed as ordinary article cms

There is a picture bed function, the default is Alibaba Cloud oss

Warehouse address

直达仓库:https://github.com/lookroot/vuepresscms
直达我的个人页面

Start interface

Introduction to using laravel to quickly build vuepress manager

Both native theme and reco theme are optional, reco theme is very beautiful

Introduction to using laravel to quickly build vuepress manager

Console

Introduction to using laravel to quickly build vuepress manager

##config configuration

Introduction to using laravel to quickly build vuepress manager

Article tigs and category management

Introduction to using laravel to quickly build vuepress manager

Introduction to using laravel to quickly build vuepress manager

##Article list

Introduction to using laravel to quickly build vuepress manager

Article management

Introduction to using laravel to quickly build vuepress manager##Deployment method

It is recommended to deploy locally, the phpstudy integrated environment is convenient

Project root directory

composer install 
php artisan key:generate
php artisan storage:link

Modify the database configuration in the .env file

php artisan migrate:install
php artisan migrate

Create your vuepress project in the storage directory

The original name is native

reco theme name rec

If you need to use the push warehouse naming, please directly clone the warehouse in This directory is named the above folder Introduction to using laravel to quickly build vuepress manager

If you want to use the image bed function, please configure your Alibaba Cloud oss ​​in config/filesystems.php

If you use Baidu push, please configure it in the .env directory Edit your Baidu API.

For more laravel framework technical articles, please visit

laravel

tutorial!

The above is the detailed content of Introduction to using laravel to quickly build vuepress manager. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete