猿问

小白提问:为什么使用<include file="Public:header" />没有效果?

在看源码的时候看到这样的文件:

<body t>
<include file="Index:mes" />
<include file="Index:appli" />
<include file="Index:fin" />
<include file="Index:mi" />
<include file="Index:shor" />
<include file="Index:fo" />
</body>
</html>

自己敲代码的时候这样引入没有效果没有效果? 这句话不是将对应的文件引入到页面的吗?还是前端页面不能使用这个语法的?

慕粉佶
浏览 3381回答 1
1回答

串猪神

这个一般是别人前端框架来实现的,比如用angularjs或者vuejs之类的,自己肯定不能这么写了。默认的哪里有include这个标签,这个标签是通过js和ajax来引入的。可以看下angularjs或者vuejs就可以明白了。

慕瓜9220888

XSURMCZILMTONRKDNAPGIXSUDNTRSUZMWJZSXMRCLYKKDLCRJREEDKQUJBXQJMGJUSOQTTFFGOHZADNFFGLBNOVVEVPLMMWDKBRAIYLHVPWQZNGFWXNEUVBRQZGJDEBTGATJQDWMKJSLFMWIXBATMJTCMDIAVOBLSMQJPRQABLPQCYHTQQBRVTKJCZAKEERKZOVMYSCQTSDDUEIQVUWMCDDNBGPYXXYVPETBKGHEEYDFENPQNXBCRDPKELRMZNMFCNDEEDCHQPQKABTYXZFVRIYEDZOXXWQBMLUMIHOFZOWLATMMGKAQZORRFFWZHDWIIZQKZXDFTGNKKVJIBANRBSLQZIRHOLFUMCRTATTRRZOOQEAGEWUMOJGTSCXSHPHAKISSWVHMPSVFCJHMHBLSBVXSUMLNKDNOAFXJZJROCKGEYHKKWHYJCFVBRBVKMOXSCVOVXMEHBNAYTHMXNQKNFKZRTTFZCAIQFXGGJPSNVUFFIVOLQLFHQDDJQNPHWZMSODUWLQNQJGJQZRGPIBYEZHWVRBCPZQFHZZVLBOJGYADWGSUBQYANTGPMEPYQZTFILGEGFLVOVWHJOWQSCPBMWEJWJCJKLQVNHDZJKLTYADTAJMKZCXXADGSJUWOOEUFLCUPEOKXXCJMPYXONKPXVXFJURKCWLNMISYCSJBBGDPZZDUZUGWPFVIJHJBRHXRRJHJROHHDYIHJIMZTFCXVEGFSPI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