gpt4 book ai didi

server - AngularDart-上传到共享托管服务器

转载 作者:行者123 更新时间:2023-12-03 03:13:06 25 4
gpt4 key购买 nike

因此我在机器上启动并运行了AngularDart应用程序(我使用了stagehand)。现在是我要将其上传到共享托管服务器的时间。我的问题是:这样做的正确程序是什么?因为显然Dart不能在本地运行,并且需要编译的js文件。 (我已经可以访问服务器的文件管理器了)。

提前致谢

最佳答案

使用build工具的pub命令。

https://webdev.dartlang.org/tools/pub/pub-build

Use pub build when you’re ready to deploy your web app. When you run pub build, it generates the assets for the current package and all of its dependencies, putting them into new directory named build.

关于server - AngularDart-上传到共享托管服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43174124/

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