javascript - Static pages reference public header and tail files, how to write js?
欧阳克
欧阳克 2017-07-05 10:43:44
0
6
906

Static pages reference public header and tail files, how to write js?

欧阳克
欧阳克

温故而知新,可以为师矣。 博客:www.ouyangke.com

reply all(6)
Ty80

What framework are you using?

漂亮男人

require or import

ringa_lee

How to write js? I don’t know yet anyway. Give up, boy

大家讲道理

Quote directly in public documents.

<script src="dist/js/common2.js?"></script>

学霸

If you open it on the server, there will be no problem, only Firefox will display it

typecho

But use js string concatenation, and then append the relevant ele

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template