Skip to content

lhapaipai/symfony-vite-dev

Repository files navigation

Symfony logo

Symfony Vite Development Repository

In this repository you can contribute to pentatrion/vite-bundle and vite-plugin-symfony. You can find playgrounds for development.

Installation

git clone https://github.com/lhapaipai/symfony-vite-dev.git
cd symfony-vite-dev


## Install vite-bundle/vite-plugin-symfony dependencies
make install


## Install playgrounds (npm i/composer i for each of them)
make install-playgrounds

Note: If you want to install without makefile, first install composer dependencies of . and ./playground/stimulus projects because the ./vendor and ./playground/stimulus/vendor directories contain npm dependencies needed for pnpm install which is recursive.

Execution

# launch the development environment for the `basic` playground.
cd playground/basic
symfony local:server:start
pnpm run dev
# from your browser go to: https://127.0.0.1:8000/

Ecosystem

Package Description
vite-bundle Symfony Bundle (subtree split)
vite-plugin-symfony Vite plugin (subtree split)

License

MIT.