作为 Meteor 客户端连接的 Ionic UI 的简单示例? [英] A simple example of an Ionic UI that is wired up as a Meteor client?

查看:23
本文介绍了作为 Meteor 客户端连接的 Ionic UI 的简单示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经多次开始本教程,但没有时间成功完成它.使用 Meteor 和 Ionic 2 CLI 进行 WhatsApp 克隆

I've started this tutorial several times, without time to complete it with success. WhatsApp Clone with Meteor and Ionic 2 CLI

上面的教程中有很多小窍门,而且似乎布局得很彻底.然而,仅仅看到一个 Ionic UI 作为 Meteor 客户端的简单示例就显得有些臃肿了.如果你们中的任何人能指出我正确的方向......将不胜感激!

There are a lot of nuggets in the tutorial, above and it seems thoroughly laid out. However, it's pretty bloated just to see a simple example of an Ionic UI behaving as a Meteor client. If any of you could point me in the right direction... it would be greatly appreciated!

推荐答案

下面我想总结一下 Meteor 和 Angular 的情况.

With the following I'd like to summarize the situation on Meteor and Angular.

首先,meteor.com 有一个官方自托管的 angular 教程,但是 WhatsApp 克隆教程指的是一个第三方开发团队,提供教程并在 Meteor-Angular 集成方面做了大量基础工作.

First, meteor.com has an official self-hosted angular tutorial, but the WhatsApp clone tutorial is referring to a third party developer team, which provides the tutorial and did lots of fundamental work on the Meteor-Angular integration.

您引用的 (webpack-) 教程是(截至今天), 2019/01/14) 针对 ionic 2(标题说 3?)和 Angular 2,最后一次更新是在 2017 年 6 月 15 日.

The (webpack-) tutorial you referenced is (as of today, 2019/01/14) targeting ionic 2 (headline says 3?) and Angular 2 and it's last update was on 2017/06/15.

类似的情况是如果您使用纯 Meteor-CLI 版本的教程.

A similar situation is if you use the pure Meteor-CLI version of the tutorial.

在这两种情况下,您最终都会使用非常过时的 Angular 版本(当前为 7),并且还会安装大部分不兼容的 Typescript 版本.

In both cases you will end up using very outdated Angular versions (current is 7) and also install mostly incompatible Typescript versions.

现在,在您浪费更多时间尝试运行已弃用的技术之前,您实际上可以查看主要的 Angular-Meteor 集成仓库.

Now before you waste more time on trying to get the deprecated tech running, you may actually check out the main Angular-Meteor integration repo.

此存储库本身仍在维护(截至今天,最后一次更新于 2018 年 11 月)并且构建也成功了.

This repo itself is still maintained (last update on Nov. 2018 as of today) and the builds also succeed.

还可以克隆快速入门存储库,让您快速入门:

A quickstart repo can also be cloned and get you started fast:

git clone https://github.com/Urigo/angular-meteor-base myApp
cd myApp
meteor npm install
meteor

这篇关于作为 Meteor 客户端连接的 Ionic UI 的简单示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆