@royip wrote:
Hi guys
I worked with ionic one until now and I have some question about ionic 2.
I have started with creating a blank project with the
--tsflag and i have few questions:
I have notice that there is
gulp+wepack, Why both of them are needed? I saw that allgulpis doing is just moving the files from the app folder to www. Cant wepack do that?I have notice that in the
app/pages/home/home.tsthe templateUrl to the html file is locate at the build folder.. I excepted the path to be./home.html, I know this like that since the the location is relative to theapp.bundlefile but that seems odd, when creating more and more pages it will be harder to guess where the file is going be relative to theapp.bundle, how can i use relative paths to the.tsfile itself?When running
ionic servenothing happen.. i must runsudo ionic servefor the app to start :. thats weird no?
I used sudo npm install -g ionic@beta.. (i cant install that without sudo, permission denied)Thanks ahead
Posts: 1
Participants: 1