Skip to content

Admin Documentation for Laravel Vite #20

@fulopattila122

Description

@fulopattila122

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions