Awesome, thanks a lot @beets .
Best posts made by Jonalxh
Latest posts made by Jonalxh
RE: Reference HTML file in iframe
quasar info result is:
Important local packages quasar - 1.14.7 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time @quasar/app - 1.9.6 -- Quasar Framework local CLI @quasar/extras - 1.9.12 -- Quasar Framework fonts, icons and animations
The answer of your question is correct, public folder is in root beside quasar.conf.js and ticketTemplates folder is inside.
Reference HTML file in iframe
Hi guys, I need to open an static HTML file inside an iframe because I need it to be printed silently, I’m trying setting the iframe src with absolete and relative paths but none of them work, I’ve tried moving my files inside public, static and assets folders with no success, I’ve seen that some people uses process.env.BASE_URL to access absole path of environment but it doesn’t work in Quasar.
Currently I have my files in a folder called ticketTemplates inside public folder placed at root, and it has two files: template1.html and template1.css, I’m doing the following:
<iframe src="ticketTemplates/first.html" frameborder="1"></iframe>
But as I said before it does not with relative or absolute paths.
Could you tell me how to achieve it?