Comments (7)
https://unpkg.com/@waline/[email protected]/dist/waline.umd.js 用这个地址
https://unpkg.com/@waline/[email protected]/dist/waline.umd.js Use this address
from waline.
Thank you for your detailed explanation.
感谢您细心解答。
from waline.
不客气~
ps. Waline 仓库有 GitHub Action 工具,支持自动翻译中文内容补充到 issue 中,所以如果觉得麻烦,可以只发中文内容就行~
You're welcome~
ps. The Waline warehouse has a GitHub Action tool that supports automatic translation of Chinese content and adds it to the issue, so if you find it troublesome, you can just post the Chinese content~
from waline.
https://unpkg.com/@waline/[email protected]/dist/waline.umd.js 用这个地址
https://unpkg.com/@waline/[email protected]/dist/waline.umd.js Use this address
Thank you for your solution. Waline can load now and without errors, including the errors I mentioned above.
I suggest that this tip should be added to the document, at https://waline.js.org/en/cookbook/import/cdn.html
so that ones in need get the solution easier. Should I make a pull request to add this?
感谢您的解答。现在Waline可以正常加载出来,不再出现我在上面提到的error或其他error。
我建议将这一条加入Waline文档的这个页面,好让需要的人更容易地获取到解决方案。请问我是否应该为文档提交一个pull request来添加这个内容?
from waline.
不用更新文档,本质是 @waline/hexo-next 没有使用 ES Module 的加载方式 <script type="module">
,所以需要使用 UMD 的模块。文档本身是没有问题的。
There is no need to update the document. The essence is that @waline/hexo-next does not use the ES Module loading method <script type="module">
, so it needs to use UMD modules. There is nothing wrong with the documentation itself.
from waline.
@waline/hexo-next 需要更新一下么?我不是很熟悉hexo那边的东西
@waline/hexo-next Do you need to update it? I'm not very familiar with hexo stuff.
from waline.
@waline/hexo-next 我思考了下,暂时不更新了。主要有几点考虑:
- 现阶段是有方案使用 v3 的
- 用户的配置是一个 url,代码层面可能不太好知晓它是否需要使用 es module 的模式加载。可能还是会有类似的 issue 出来。除非我们增加是否是 module 的配置,但感觉也没有太大的必要
@waline/hexo-next I thought about it and won’t update it for the time being. There are several main considerations:
- At this stage, there are plans to use v3
- The user's configuration is a URL, and it may not be easy to know at the code level whether it needs to be loaded using the es module mode. There may still be similar issues coming out. Unless we add the configuration of module, but it doesn’t feel necessary
from waline.
Related Issues (20)
- Q: How to implement custom user system ?
- [Feature]: 能否做个可以使用 dokploy 部署 waline 的模板 || [Feature]: Can you make a template that can use dokploy to deploy waline?
- [Bug]: 在vercel部署后,注册时显示500: Not initialized || [Bug]: After vercel deployment, 500: Not initialized is displayed during registration. HOT 3
- [Bug]: When migrating data, the user_id field in wl Comment is null? HOT 2
- [Feature]: 企业微信群聊机器人通知 || [Feature]: Enterprise WeChat group chat robot notification HOT 2
- [Bug]: 使用微博登录报错400 || [Bug]: Error 400 reported when logging in using Weibo HOT 2
- [Feature]: 数据库导入的sql文件添加索引优化 || [Feature]: Add index optimization to the sql file imported from the database HOT 1
- [Feature]: 添加头像上传功能 || [Feature]: Add avatar upload function HOT 2
- [Bug]: vercel部署无法成功,node使用的是node18 HOT 1
- [Bug]: 强制登录在用户前端界面显示上出现问题 || [Bug]: Forced login causes problems in user front-end interface display HOT 2
- [Bug]: 人机验证会成为刷评论的原因 || [Bug]: Human-machine verification will become the reason for brushing comments HOT 2
- [Bug]: 关于在 deta.space 上部署时遇到的一些问题 || [Bug]: About some problems encountered when deploying on deta.space HOT 1
- [Bug]: 没法注册成为管理员,也没法评论 HOT 4
- [Bug]: 点击登录后,俺的头像溢出了 || [Bug]: After clicking to log in, my avatar overflowed HOT 2
- [Bug]: duplicate key value violates unique constraint "wl_comment_pkey" HOT 1
- [Bug]: pageview功能无法正常工作 || [Bug]: pageview function does not work properly HOT 4
- [Bug]: 邮箱通知收不到邮件啊 || [Bug]: Email notification cannot be received. HOT 4
- [Bug]: Double-clicking the like button triggers a double operation HOT 1
- [Feature]: 接入外部注册登录 || [Feature]: Access external registration and login HOT 4
- [Bug]: 升级 @waline/vercel 至 1.32.1 后出现 500 INTERNAL_SERVER_ERROR 问题 || [Bug]: 500 INTERNAL_SERVER_ERROR problem occurred after upgrading @waline/vercel to 1.32.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waline.