@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
--ts
flag and i have few questions:
I have notice that there is
gulp
+wepack
, Why both of them are needed? I saw that allgulp
is 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.ts
the 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.bundle
file 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.ts
file itself?When running
ionic serve
nothing happen.. i must runsudo ionic serve
for 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