I've been using Ionic 2 with MS Visual Studio Community 2017 for quite some time now. In the Visual Studio Market the plugin Ionic 2 Templates for VS can be downloaded and used.
It is as simple as clicking:
New Project > TypeScript > Mobile Apps > Ionic 2 - Blank
However I can not find a template for Ionic 3. ( seems not released yet)
Any idea how to manually add Ionic 3 to Visual Studio?
Thanks!
Open Visual Studio 2015 and click File -> New -> Project Option for New Apache Cordova App, using Ionic Framework. New Project Window will open. Subsequently, you can select an Installed -> Template -> Java Script -> Apache Cordova Apps ->Ionic JavaScript Blank. Type Project name as ionic-App1 and click OK button.
For adding Ionic to an already existing Angular project, use the Angular CLI's ng add feature. This will add the necessary imports to the @ionic/angular package as well as add the styles needed.
I'm just getting started so this might be not quite right, but I did the following:
npm install -g ionic@latest
sidemenu
or tabs
or blank
depending on what template you want to use. I see there's a ton more in https://market.ionic.io/starters/ which you can probably use somehow.
ionic start YourNewAppName sidemenu
taco.json
XXXX.jsproj
(don't rename just yet)XXXX.sln
(don't rename just yet)Now the .sln file works for editing & running the Ionic 3 project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With