Using iframe in vue

when using vue-cli to build a project, iframe, is used in app.vue but the iframe does not display correctly, but the current page is displayed, that is, the current page is nested on the current page, and the nesting will loop until it crashes:
clipboard.png
App.vueurlStartPage.htmlhtml


src=""src="qqq"3
clipboard.png
as shown in the figure, if the src is correct, it will render
infinitely. I don"t quite understand

.
Mar.12,2021

in Webpack dev server, resources that do not exist are returned to the home page by default. Your iframe page should not be packed.

Menu