Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/patrikgrinsvall/nativephp-starter-folio-volt
- Owner: Patrikgrinsvall
- Created: 2024-09-15T18:49:39.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T20:55:20.000Z (3 months ago)
- Last Synced: 2024-11-24T20:42:07.163Z (29 days ago)
- Language: PHP
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.