cpereiraweb / Vue-SPA

Laravel with VueJs SPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel With VueJs SPA

installation :

after install the source code open Terminal to use these command line:

  • composer install
  • cp .env.example .env
  • create new database
  • php artisan key:generate
  • php artisan storage:link
  • php artisan migrate --seed
  • php artisan passport:install
  • copy the of Client ID value and past it in .evn Ex. 2
  • copy the of Client secret value and past it in .env Ex. CLFlyd84jgusluIbFDwWQ4XLMiuMr4NCh6kE2XSd
  • npm install
  • npm run dev or watch
  • php artisan serve
  • mkdir storage/app/public/assets/avatars
  • sudo cp public/img/users/avatar.png storage/app/public/assets/avatars/
  • add your default image (should be the name is 'avatar.png' or custom the default name from ProductMedia migration table)

Permission folder ( Linux | Mac)

  • sudo chmod -R 777 settings.json
  • sudo chmod -R 777 storage/app/public/images/

Try

http://vue-spa.cartwhite.tk

Contact me

https://alijumaan.com

  • enjoy...

About

Laravel with VueJs SPA


Languages

Language:PHP 62.6%Language:Vue 34.1%Language:Blade 3.0%Language:Shell 0.3%