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
wepack, Why both of them are needed? I saw that all
gulpis 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 the
app.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 the
app.bundle, how can i use relative paths to the
ionic servenothing happen… i must run
sudo 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)