mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-20 20:06:30 +03:00
* 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
14 lines
934 B
Plaintext
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</>
|
|
|