在vue项目中,引用html页面及其js
1.将BgAnimation.html页面放入public目录中,如图:

2.BgAnimation.html页面中引用的js路径如图:

3.在需要引用html的vue组件中,通过ifram将BgAnimation.html引入至组件,如图:

1.将BgAnimation.html页面放入public目录中,如图:

2.BgAnimation.html页面中引用的js路径如图:

3.在需要引用html的vue组件中,通过ifram将BgAnimation.html引入至组件,如图:
