Closed ning0818 closed 11 months ago
6.x
https://www.yuanning0818.tk 中的任意一篇文章
Waline ReferenceError: Waline is not defined
waline后端确定没问题,https://liuyan.yuanning0818.tk/
正常html引入也没问题,https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/source/waline.html
<head> <!-- ... --> <link rel="stylesheet" href="https://unpkg.com/@waline/client@v2/dist/waline.css" /> <!-- ... --> </head> <body> <!-- ... --> <div id="waline"></div> <script type="module"> import { init } from 'https://unpkg.com/@waline/client@v2/dist/waline.mjs'; init({ el: '#waline', serverURL: 'https://liuyan.yuanning0818.tk', }); </script> </body>
```yml 在这里粘贴替换 `blog/_config.yml` 中修改过的部分 ```
[```yml 在这里粘贴替换 `themes/volantis/_config.yml` 中修改过的部分 ```](https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml)https://[cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml](https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml)
``` 在这里粘贴替换 `node -v && npm -v` 输出的信息 ```
``` 在这里粘贴替换 `npm ls --depth 0` 输出的信息 ```
</details> <h3>十分感谢!</h3>
主题去 jQuery,所以 $ 会报错,后面的错误估计也是这个的后续影响
$
检查清单
(备注:issue#709 中并没有找到解决办法)
主题版本
6.x
复现地址
https://www.yuanning0818.tk 中的任意一篇文章
问题描述
Waline ReferenceError: Waline is not defined
waline后端确定没问题,https://liuyan.yuanning0818.tk/
正常html引入也没问题,https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/source/waline.html
配置文件
站点配置文件
```yml 在这里粘贴替换 `blog/_config.yml` 中修改过的部分 ```
主题配置文件
[```yml 在这里粘贴替换 `themes/volantis/_config.yml` 中修改过的部分 ```](https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml)https://[cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml](https://cdn2.chuqis.com/gh/ning0818/hexoblog@main/themes/volantis/_config.yml)
环境信息
node.js & npm
``` 在这里粘贴替换 `node -v && npm -v` 输出的信息 ```
package.json
``` 在这里粘贴替换 `npm ls --depth 0` 输出的信息 ```