Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 489 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 489 Bytes

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>