mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-23 16:22:19 +01:00
Update/vite bundle 7 (#1652)
* update recipe for ViteBundle 7 * update recipe for ViteBundle v7 to v6.4.7 * vite-bundle fix typo error * changing vite-bundle version from patch to minor
This commit is contained in:
28
pentatrion/vite-bundle/6.5/manifest.json
Normal file
28
pentatrion/vite-bundle/6.5/manifest.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Pentatrion\\ViteBundle\\PentatrionViteBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"install/assets/": "assets/",
|
||||
"install/package.json": "package.json",
|
||||
"install/vite.config.js": "vite.config.js",
|
||||
"install/config/routes/pentatrion_vite.yaml": "config/routes/pentatrion_vite.yaml"
|
||||
},
|
||||
"gitignore": ["/node_modules/", "/%PUBLIC_DIR%/build/"],
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ vite_entry_script_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block javascripts %}",
|
||||
"warn_if_missing": true
|
||||
},
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ vite_entry_link_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block stylesheets %}",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
]
|
||||
}
|
||||
12
pentatrion/vite-bundle/6.5/post-install.txt
Normal file
12
pentatrion/vite-bundle/6.5/post-install.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
<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. Add if necessary a configuration file in <comment>%CONFIG_DIR%/packages/pentatrion_vite.yaml</>.
|
||||
2. Verify the Vite configuration in <comment>/vite.config.js</>.
|
||||
3. Check vite templates https://github.com/vitejs/vite/tree/main/packages/create-vite for dependencies to add.
|
||||
4. Run <comment>npm i</>.
|
||||
5. Start the development server: <comment>npm run dev</>.
|
||||
6. Start coding into <comment>assets/app.js</>
|
||||
|
||||
Reference in New Issue
Block a user