0.0.2 • Published 8 years ago

ionic-selector v0.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

ionic-selector

Replaces tagName of your app's main component with ion-app.

Installation

npm i -S ionic-selector

Usage

You don't even have to specify a selector of your main component.

It's the app by default.

import ionicSelector from 'ionic-selector';

ionicSelector('app'); // or blank or any selector you want

Before:

<body>
  <app class="main"></app>
</body>

After:

<body>
  <ion-app class="main"></ion-app>
</body>