Skip to content

Phpnative with laravel folio routing, volt components, tailwincss and vite

Notifications You must be signed in to change notification settings

belzaaron/nativephp-starter-folio-volt

 
 

Repository files navigation

NativePHP Starter

  • Folio Path based routing
  • Livewire Volt components
  • Vite And Tailwindcss

Usage

  • composer install
  • npm install
  • cp .env.example .env
  • php artisan key:generate
  • php artisan native:install
  • npm run dev
  • php artisan native:serve

Adding new views

  • Add a new folder in resources/views/pages/ with a index.blade.php file
  • This will create a new route with the name of the directory
  • Creating additional blade files in will create sub routes
  • Example: If you create "home" folder with an index.blade.php and an edit.blade.php file the routes /home and /home/edit will be created.

Adding new components

  • Add new components in components folder
  • See navigation.blade.php and navigation-item.blade.php for an example component.

About

Phpnative with laravel folio routing, volt components, tailwincss and vite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.0%
  • Blade 8.2%
  • Other 0.8%