Ionic 2 Angular 2 meteor 1.3

Hi,

Has anyone been able to successfully import and use the npm package ‘ionic-angular’ in a Meteor 1.3+ app? I’m seeking help in getting the Ionic 2 framework (Angular 2) working in a meteor 1.3 app.

I’m aware that angular 2 and ionic 2 are still beta, but I’m not trying to build something for production.

Thanks.

2 Likes

I’m not an expert in meteor, but what are you trying to do?
Could you share some more information?

Hey,

Thank you for replying.

I’m trying to build a hybrid app which involves users who can create and edit lists together in real time.

Using meteor will significantly aid in the real time part of the application, whereas I wanted to use the ionic 2 UI framework on the client side.

I was wondering whether there is a way to wire ionic 2 and meteor together, so that I can use angular 2 not just for the front-end (ionic 2 and meteor), but also make it talk with the back end (meteor).

I hope this helps. Thanks.

Here is some info on how to wire them together.

Though it still doesn’t work for me 100% ((

1 Like

Here are two useful links:

  1. WRAPPED AS A SINGLE METEOR APP
    I can confirm that this one is working:
    https://github.com/mjwheatley/Ionic2-Meteor1.3-Starter,
    although the build system seems a little sluggish.

  2. IONIC 2 CLIENT SEPARATE FROM THE METEOR SERVER
    https://github.com/nelsonec87/ionic2-meteor-seed
    Haven’t tried out this one yet as I’m not on my personal laptop right now. But seems promising.

DAB0mB seems to be working on an ionic 2 meteor project!

I’m excited to see a README for the project soon, hopefully. :smiley:

You can clone the repo, and perform an npm install in the root directory. The root directory contains the ionic 2 project files whereas the /api/ directory is the root for the Meteor project. node_modules of the Meteor project are symlinked to the Ionic 2’s project, so you don’t have to execute npm install in that directory.

Since the Ionic 2 client is separated from the Meteor backend, you will have to fire up the ionic server and meteor server separately from their respective root folders.

I was wondering if there was a way to build with Ionic2 CLI so that both the Ionic and /api/ meteor build ran together on the app.

1 Like