0.0.2 • Published 9 years ago
ionic-selector v0.0.2
ionic-selector
Replaces tagName of your app's main component with ion-app.
Installation
npm i -S ionic-selectorUsage
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 wantBefore:
<body>
<app class="main"></app>
</body>After:
<body>
<ion-app class="main"></ion-app>
</body>