Open website with a button


#1

i want a button to open a web page in my ionic2 app!what should i use in my home.ts? I have tried
import { InAppBrowser } from ‘ionic-native’;
there was o problem Cannot find module “ionic-native”


#2

Always read the docs.


#3

try running this command.
npm install @ionic-native/core --save