Hello,
Thanks for the work on metronic symfony this is really great.
I was wondering if there was any way to build other demos than demo 1 using the symfony starterkit.
Checking the content of webpack.config.js, I supposed I might force it by using an env var, ie :
export npm_config_demo3=true && yarn build
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration[0].entry["js/widgets.bundle"] should be a non-empty array.
-> All modules are loaded upon startup. The last one is exported.
Hi Joris,
Apologies for the delay in response. Currently, the Metronic Symfony Starter Kit only includes demo1. However, if you're interested in implementing another demo, like demo3, you can follow these steps:
Layout Builder:
Utilize the Metronic Demo3 Layout Builder.
Export the partials files or configurations related to the layout from the builder.
https://preview.keenthemes.com/metronic8/demo3/layout-builder.html
Symfony Implementation:
Incorporate the exported partials or configuration files into your Symfony project.
Adjust paths and references in the layout files to match your Symfony project structure.
Assets:
Obtain the assets (stylesheets, scripts, images, etc.) for demo3 from the HTML version of demo3.
Integrate these assets into your Symfony project and update any asset references in the copied layout files.
If there are demo-specific dependencies or functionalities, handle them accordingly.
Let me know if you have further questions or need additional assistance!