runisland / meteor-ionic4

Meteor Atmosphere package that automatically imports Ionic4 Web Components into your Client templates
MIT License
14 stars 6 forks source link

Custom Tags Configration-Blaze #4

Closed amishkatalyze closed 6 years ago

amishkatalyze commented 6 years ago

Hi,

I looked at your package, and I didn't see how to ignore the ion tags in blaze. Can you help me out?

thanks,

Amish

ghybs commented 6 years ago

Hi,

If I am not mistaken, Blaze does not check custom tags.

On the contrary of most other render engines like Vue, React and Angular, its syntax uses curly braces for custom components ({{> myComponent}}), therefore it does not interfere with Ionic4 Custom Elements (like <ion-app>).

Therefore you should be able to just use Ionic4 tags without any trouble.

If you have trouble using Ionic4 with Blaze, please share a repository that reproduces the issue and consider asking for help on Stack Overflow to get a wider audience.

ghybs commented 6 years ago

FYI I have committed the source code for a demo app with Blaze: https://github.com/runisland/meteor-ionic4/tree/master/examples/blaze-flowrouter

You can also test it live here: https://runisland.github.io/meteor-ionic4/blaze-flowrouter/

(Ionic4 currently has a bug in Firefox, but works well in Chrome)