Awesome, thanks a lot @beets .
Best posts made by Jonalxh
Latest posts made by Jonalxh
-
RE: Reference HTML file in iframe
You’re right, I’ve created a new project with updated resources and now it works.
In production it will be available in the same way (same url)?
Thanks a lot.
-
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.
-
RE: Reference HTML file in iframe
Hi @beets I’ve tried with
http://localhost:8080/ticketTemplates/first.html
and result is the same:Cannot GET /ticketTemplates/first.html
I’m just executing quasar dev in development, not in production.
-
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? -
RE: Tour component
Vue-tour has a lot of issues working with Quasar, I’ve tried to implement it but it is almost a rebuild.
Any updates on it?