Quick Installation and Templates tabs in Symfony docs doesn't work:
https://preview.keenthemes.com/symfony/metronic/docs/index
Loading the script into your HTML code with the type attribute set to module will fix the problem. For the browser to recognize ECMAScript modules or JavaScript module import commands, you must notify it that the script in question is a module. Add type="module" to any â€1scriptâ€o tags that reference a JavaScript module to do this. This must be done before that module may be imported.
If you're developing a Node.js or react application and you're loading modules using import statements rather than require, check your package. The "type": "module" attribute of json is seen below.
In other words: //... "type": "module", //...
Additionally, it is possible that using both import and need statements will be necessary to load the module correctly.
The syntax is: parse = require('node-html-parser'); // import parse from 'node-html-parser'
You may encounter the "Cannot use import statement outside a module" problem when developing JavaScript in either the server-side environment of Node.js or the client-side environment of a web browser. This issue may have a number of different causes, and fixing it will rely on the specifics of your phrazle module or script tag's invocation.
Hi,
The Symfony starter kit of Metronic provides a basic set of pages to get you started. However, for additional pages, you can refer to the HTML version of Metronic and copy the desired templates.
In the HTML version, you will find a comprehensive set of pages with fully integrated styles. You can browse through the HTML templates and copy the specific pages you need into your Symfony project. Make sure to adapt the HTML code to fit the Symfony framework conventions and structure.
By leveraging the HTML version as a reference, you can expand your Symfony project with additional pages and features from Metronic.
If you have any further questions or need assistance, please feel free to ask.
Thanks
Quick Installation works but redirect to the same page as Starter Kit*