So I am new to Ionic 2 and Angular 2. I followed http://ionicframework.com/docs/v2/getting-started/tutorial/ and ran the command ionic start MyIonic2Project tutorial --v2 and it created the directory with correct files. When I ran the ionic serve nothing worked. I thought ionic serve command would transpile the ts and move correct files to www folder. I guess I was kidding myself. So I used gulp to move and transpiled ts files and also move them to www folder then updated the references to index.html page, but now I get ‘Uncaught ReferenceError: require is not defined’.
what am I doing wrong? thanks