构建用于生产的Cordova浏览器

时间:2018-12-11 19:30:57

标签: apache cordova cordova-plugins phonegap cordova-3

我有一个适用于ios和android的Apache Cordova应用程序。但是我想将其部署到我的Web服务器上,即我想将其实时部署到我的服务器上,以便用户可以使用其浏览器访问它。我该怎么办? 对于Android,其library(ggplot2) library(stringr) data <- data.frame(Importance = c("Not important", "Important", "Critical", "Not important", "Important"), Current.Capability = c("Basic", "Undeveloped", "Advanced", "World class", "World class"), Function = c("PM", "Sales", "PM", "Marketing", "Marketing"), Item = c("a","b", "c", "d", "e")) str(data) head(data) width <- 2 position.width <- width - 0.05 ggplot(data, aes(x = Importance, y = Current.Capability, fill=Function)) + geom_col(position = position_dodge2(preserve = "single"), width = width) + facet_grid(~Importance, scales = "free_x", space = "free_x") + geom_text( aes( label = stringr::str_wrap(Item, 50)), lineheight = 0.7, angle=90, size = 5, hjust=0, vjust=0.5, y = 0.5, position = position_dodge2(preserve = "single", width = position.width)) + theme(axis.text.x = element_blank(), axis.ticks = element_blank()) + theme(legend.position="bottom")+ scale_y_discrete(limits = c("Undeveloped", "Basic", "Advanced", "World class")) + xlab("Importance") + ylab("Current Capability") ,但对于浏览器,我不知道该操作要使用哪个命令。

1 个答案:

答案 0 :(得分:0)

对于浏览器来说很简单

cordova build browser --release