0๐
โ
I solved this problem like this.
- Use
res.sendFile()
. If you connect a url which is usingres.sendFile(/path/to/bulahbulah.html)
, it will show thebulahbulah.html
page which can use activeX(But you need to use internet explorer to run the activeX basically).
router.get('/', async (req, res, next) => {
res.sendFile('/path/to/bulahbulah.html')
}
- When you need to use the values from the
bulahbulah.html
page in Nuxt App, then you can transport the values with query string. If the Nuxt page is/nuxtPage
then, you can append a line inbularbular.html
page like this
self.location.replace("/nuxtPage?foo=bar);
So, you can use the values from the normal html page. But, as it transport the values as just query string, need to watch out in using secret values.
Source:stackexchange.com