How to import angular 8 src into ionic project - ionic-framework

We already developed an project in angular 8. I trying to import the project src into ionic project.
Created an blank ionic project and replacing angular 8 project src than making ionic build facing ionic build issues in angular.
Is there any way to import angular8 src into ionic6 project
Thanks.

Related

No podspec found for `package` when adding iOS project to existing Ionic 5 project

I built a Capacitor plugin for Ionic and Capacitor and published it to NPM - call it test1. I then use it in my Ionic 5 project and successfully add a new Android project via:
ionic build
ionic cap add android
ionic cap sync
Tested it and it works. I then try and add an iOS via:
ionic build
ionic cap add ios
I then get the following error:
`[!] No podspec found for `Test1` in `../../node_modules/test1```
And it fails. I can't figure out why as there is a Test1Plugin.podspec file in the root with relevant dependencies and an ios/Podfile with relevant dependencies. I also ensure both files are published to npm.
I tried changing the name of the .podspec file to Test1.podspec but it's the exact same issue.
I'm pretty stumped and hoping someone has some pointers as i've been on this for a while and tried everything.

Ionic - Could not determine project type (project config: .\ionic.config.json)

i have a source Ionic which coded by Ionic version 1 but now Ionic version is 3, when i type "ionic serve" show this passage:
[ERROR] Could not determine project type (project config: .\ionic.config.json).
For Ionic Angular projects, make sure ionic-angular is listed as a dependency in package.json.
For Ionic 1 projects, make sure ionic is listed as a dependency in bower.json.
Alternatively, set type attribute in ionic.config.json to one of: ionic-angular, ionic1, custom.
If the Ionic CLI does not know what type of project this is, ionic build, ionic serve, and other commands may
not work. You can use the custom project type if that's okay.

Is it possible to create Ionic 2 project in Ionic 3 CLI

When I do this, I get the message below:
Command :
ionic start blank myapp --v2
Error :
[ERROR] Sorry! The --v1 and --v2 flags have been removed.
Use the --type option. (ionic start --help)
For Ionic Angular projects, try ionic start blank myapp --type=ionic-angular
My Ionic CLI version is :
ionic -v
3.3.0
Update 2 : You can no longer create Ionic 2 project in Ionic 3 CLI.
As Ionic 2 was not updated & is rewritten using Ionic 3, which uses Angular 4.
So if you create new Ionic project it will use Ionic 3 by default.
Update 1 : More Info Available Here
With the updates few changes are done in syntax as well :
To create a new project : (You have 3 templates available with Ionic i.e. blank, tabs, sidemenu)
ionic start {{AppName}} {{TemplateName}} ==> Latest Ionic codebase project
ionic start {{AppName}} {{TemplateName}} --type ionic1 ==> Ionic v1 project
Yes, You can check this link out
ionic start [app-name] [template] --type=ionic1
ionic start [app-name] [template] --type=ionic2
ionic start [app-name] [template] --type=ionic-angular
I have Ionic -v 2.2.2 right now so couldn't test it, so please try and let me know ;)
You don't have to specify --v2 for an Ionic 2 project because an Ionic 3 project is just an Ionic 2 project with some new features such as lazy loading and adoption of Angular 4 instead of Angular 2 .Just like Angular 2 and 4 are the same framework ,Ionic 2 and 3 are the same also
You can check in
ionic start --list
Starters for Ionic 2/3 (--type=ionic-angular)
name | description
-----------------------
tabs | A starting project with a simple tabbed interface
sidemenu | A starting project with a side menu with navigation in the content area
blank | A blank starter project
super | A starting project complete with pre-built pages, providers and best practices for Ionic development.
tutorial | A tutorial based project that goes along with the Ionic documentation
aws | AWS Mobile Hub Starter

what are all the packages,plugins,dependencies need for build a ionic 2 app?

I am new to ionic 2 framework and angular 2 framework.Before going to ionic 2,i were studied the basic introduction about ionic 1.
While considering ionic 1 Framework,if i am going to build a app(works on both android and ios)
we need following things to build an app using ionic framework 1(for Example)
Cordova.js
Package bower provides following files for ionic 1 support.
Ionic.bundle.js
Ionic.bundle.min.js
Ionic.js
Ionic.min.js
Ionic-angular.js
Ionic-angular.min.js
Plugins:-
cordova-plugin-console
cordova-plugin-device
cordova-plugin-splashscreen
cordova-plugin-statusbar
cordova-plugin-whitelist
ionic-plugin-keyboard
On my point of view, from my search results,i were found following for ionic 2 support.
TypeScript
Angular 2
Ionic 2
Could any one tell me,what are the packages,plugins,dependencies need for build an ionic2 mobile app?
First install ionic and cordova
>_ npm install -g ionic cordova
Then download one of the ionic 2 templates.
>_ npm ionic start testapp sidemenu --v2
Then just check the package.json
its all outlined here https://ionicframework.com/docs/v2/setup/installation/

Ionic2 Build folder structure missing

I'm starting to learn Ionic2, I have created a new project with ionic start myproject --v2 and everything works correctly if I do ionic serve.
The build folder is missing in ionic 2 project folder.
Whenever I am trying to download any existing Ionic2 template in that one also build folder missing.
ionic -v 2.0.0-beta.30
cordova -v 6.2.0
node -v v6.2.1
npm -v 3.9.5
your ionic serve build is under www. The native builds ( from ionic build) are under platform.
A little late but I had the same issue and was able to fix it by installing Gulp :
npm install -g gulp
Then I did gulp build.
This solved my issues and generated the build folder as it was supposed to.
First you need to add support for the platform/s you are working with, by executing from Ionic CLI console:
ionic platform add android
or
ionic platform add ios
And then you should build your project by executing:
ionic build android
or
ionic build ios