Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patrikgrinsvall/nativephp-starter-folio-volt

Phpnative with laravel folio routing, volt components, tailwincss and vite
https://github.com/patrikgrinsvall/nativephp-starter-folio-volt

Last synced: 14 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.