/ionic_laravel

ionic vue laravel

Primary LanguagePHP


IONIC-VUE-LARAVEL

Table of Contents

Getting Started

you need PHP,NODE,Composer,

Installation

  1. Clone the repository
git clone https://github.com/GuzhavinAleksey/ionic_laravel.git
  1. Install Ionic
npm install -g @ionic/cli
  1. Install NPM packages
npm install

and

ionic build
  1. Rename the file .env.example
mv .env.example .env
  1. Сreate a database by default this is mysql(when creating use utf8mb4)

  2. configure the file .env

  3. Migrate database

php artisan migrate
  1. configure the file connect resources/js/confconnect.ts

  2. Copy index.php in directory public

cp index.php public/
  1. Copy public/index.html in directory resources/views/welcome.blade.php
cp public/index.html resources/views/welcome.blade.php
  1. inside your project run the command
php artisan serve --host 0.0.0.0 --port 80
  1. go to address
http://127.0.0.1/

enjoy! Always when rebuild copy index.php public/

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Author Link: https://github.com/GuzhavinAleksey