Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Documentation for Laravel Vite #20

Open
6 tasks
fulopattila122 opened this issue Sep 22, 2022 · 0 comments
Open
6 tasks

Admin Documentation for Laravel Vite #20

fulopattila122 opened this issue Sep 22, 2022 · 0 comments

Comments

@fulopattila122
Copy link
Member

fulopattila122 commented Sep 22, 2022

Background

Laravel Vite is the new default frontend build toolkit, but it has only been added to Laravel v9.19.

But Laravel Mix is still available, and even the doc says that there's a back-and-forth migration path between the two: https://laravel.com/docs/9.x/vite#vite-or-mix

The Vanilo Framework is not supplying any frontend, but the vanilo/admin package requires a frontend build step.

To-do

Vanilo has received several requests to provide Vite installation instructions: vanilophp/admin#2 vanilophp/framework#131

  • Extend the documentation with instructions explaining how to build the admin frontend with Laravel Vite
  • KEEP Laravel Mix instructions!
  • Make sure it works: do a clean install, make the steps as described and have the frontend properly built
  • Submit a PR to this repo: https://github.com/vanilophp/docs

Tips:

Acceptance Criteria

  • The PR contains the steps
  • Doing the steps with a clean install results a working admin with proper CSS and JS files built
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant