因此我在机器上启动并运行了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/