you need PHP,NODE,Composer,
- Clone the repository
git clone https://github.com/GuzhavinAleksey/ionic_laravel.git
- Install Ionic
npm install -g @ionic/cli
- Install NPM packages
npm install
and
ionic build
- Rename the file .env.example
mv .env.example .env
-
Сreate a database by default this is mysql(when creating use utf8mb4)
-
configure the file .env
-
Migrate database
php artisan migrate
-
configure the file connect resources/js/confconnect.ts
-
Copy index.php in directory public
cp index.php public/
- Copy public/index.html in directory resources/views/welcome.blade.php
cp public/index.html resources/views/welcome.blade.php
- inside your project run the command
php artisan serve --host 0.0.0.0 --port 80
- go to address
http://127.0.0.1/
enjoy! Always when rebuild copy index.php public/
Distributed under the MIT License. See LICENSE
for more information.
Author Link: https://github.com/GuzhavinAleksey