Some things you need :
- Laravel project
- VPS / Virtual Private Server
- Domain (if any)
- Put your Laravel project into source code management (github/gitlab/others)
Here I will use my company-management reporsitory.
| class CompanyView extends GetView<CompanyController> { | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( | |
| body: Stack( | |
| children: [ | |
| Container( | |
| child: Column( | |
| crossAxisAlignment: CrossAxisAlignment.start, | |
| children: [ |
| /** | |
| * Bootstrap any application services. | |
| * | |
| * @return void | |
| */ | |
| public function boot() | |
| { | |
| Component::macro('notify', function ($message, $title = '', $type = 'success') { | |
| $this->dispatchBrowserEvent('notify', ['message' => $message, 'title' => $title, 'type' => $type]); | |
| }); |
Some things you need :