Giter Club home page Giter Club logo

Comments (4)

zhaorui2000 avatar zhaorui2000 commented on August 28, 2024 1

这和你设置编译工具链的方式有关,似乎你的编译工具并不支持 esm,但是它也没有引用 redi 内部提供的 UMD 包。

请提供一个能重现此问题的最小复现。

https://stackblitz.com/edit/withastro-astro-smrbpt

from redi.

wzhudev avatar wzhudev commented on August 28, 2024

这和你设置编译工具链的方式有关,似乎你的编译工具并不支持 esm,但是它也没有引用 redi 内部提供的 UMD 包。

请提供一个能重现此问题的最小复现。

from redi.

wzhudev avatar wzhudev commented on August 28, 2024

有一些 package.json 设置不符合 lint,下个版本会修复 https://publint.dev/@wendellhu/[email protected]

from redi.

jikkai avatar jikkai commented on August 28, 2024

这和你设置编译工具链的方式有关,似乎你的编译工具并不支持 esm,但是它也没有引用 redi 内部提供的 UMD 包。
请提供一个能重现此问题的最小复现。

https://stackblitz.com/edit/withastro-astro-smrbpt

客户端脚本不是在 frontmatter 中运行的,请仔细阅读 astro 文档 https://docs.astro.build/zh-cn/guides/client-side-scripts/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%84%9A%E6%9C%AC

from redi.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.