Skip to content

jellyjs/ionic-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published