Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.23 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.23 KB

Ionic5-base

this project completely ionic base version

step 1

nodejs install on your system

ionic cli :
npm install -g @ionic/cli native-run cordova-res
if want to start new ionic project
ionic start

angular cli :
npm install -g @angular/cli

if want to start new angular project
ng new my-dream-app
cd my-dream-app
ng serve

step 2

run your appliction

if it's Ionic Project
ionic s or ionic serve

if it's Angular Project
ng s or ng serve

Setup Bootstrap in Ionic

Frist Install Jquery for Bootstrap Dependency
npm i jquery
then install Bootstrap
npm install bootstrap

Integration in your application
angular.json file

"styles": [
  "node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
 "node_modules/jquery/dist/jquery.min.js",
 "node_modules/bootstrap/dist/js/bootstrap.min.js"
]

Setup underscore in Ionic

npm install underscore
npm install bootstrap @types/underscore

  //import in your component.ts file
  import * as _ from 'underscore';
  //use underscore methodes
  console.log('now: ', _.now());