gpt4 book ai didi

shell - 如何在 ammonite shell (amm) 中使用 scala-js

转载 作者:行者123 更新时间:2023-12-04 16:16:27 25 4
gpt4 key购买 nike

是否可以在 ammonite shell 中加载 scala.js? (amm)

我试过这样的:

load.ivy("org.scala-js" %% "scalajs-stubs" % "0.6.5")

但它不起作用,我猜是因为amm 不知道正确的 sbt 插件。

所以我的问题可能是如何将 sbt 插件添加到 amm 中以使 scala.js 在 shell 中工作?

最佳答案

@lihaoyi 将是这方面的权威,但如果可能的话,我会感到惊讶。请记住,Scala.js 就是关于如何在 JavaScript 环境中运行 Scala 的。炸药在这样的环境中,所以它是如何工作的并不明显......

关于shell - 如何在 ammonite shell (amm) 中使用 scala-js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34776145/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com