ionic-selector
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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>

Package Sidebar

Install

npm i ionic-selector

Weekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • kamilkisiela