Files
symfony-flex-recipes-contrib/pentatrion/vite-bundle/0.2/post-install.txt
T
Hugues TavernierandGitHub 62ab2c13e0 Update recipe for pentatrion/vite-bundle v1.x (#1300)
* add recipe for vite-bundle

* change vite version constraint and yaml config

* fix assets directory

* remove aliases

* fix list numbers

* move conf files from recipe to package

* move config files from recipe to package

* add routes for vite controller

* remove settings.json

* trigger new check

* update vite-bundle v1.0

* refresh

* refresh exception with bundle when entrypoints.json is missing
2022-02-19 11:43:25 +01:00

14 lines
934 B
Plaintext

<bg=blue;fg=white> </>
<bg=blue;fg=white> Getting started using </><bg=blue;fg=white;options=bold>pentatrion/vite-bundle</><bg=blue;fg=white> </>
<bg=blue;fg=white> </>
<fg=blue;options=bold>Configure</> <fg=blue>your transformations:</>
1. Verify and uncomment the configuration in <comment>%CONFIG_DIR%/packages/pentatrion_vite.yaml</>.
2. Verify the Vite configuration in <comment>/vite.config.js</>.
3. Install npm and run <comment>npm i</>.
4. Add JS Twig function <comment>{{ vite_entry_script_tags('app.js') }}</> into your base.html.twig.
5. Add CSS Twig function <comment>{{ vite_entry_link_tags('app.js') }}</> into your base.html.twig.
6. Start the development server: <comment>npm run dev</>.
7. Start coding into <comment>assets/app.js</>