Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Symfony Metronic > Build other demos


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


But this gives me an error :

[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.


Is this supported ? It's just about getting the styles right.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


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!


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(