Files
symfony-flex-recipes-contrib/pentatrion.vite-bundle.6.5.json
T
github-action[bot]andgithub-action[bot] 21d974ae1e Update Flex endpoint
2024-08-03 11:46:05 +00:00

55 lines
2.7 KiB
JSON

{
"manifests": {
"pentatrion/vite-bundle": {
"manifest": {
"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
}
],
"post-install-output": [
" <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</>"
]
},
"files": [],
"ref": "3a6673f248f8fc1dd364dadfef4c5b381d1efab6"
}
}
}