sheetjs-clone/demos/angular2/ionic.sh

17 lines
602 B
Bash
Raw Normal View History

#!/bin/bash
if [ ! -e SheetJSIonic ]; then
2021-10-03 01:41:36 +00:00
ionic start SheetJSIonic blank --type angular --cordova --quiet --no-git --no-link --confirm </dev/null
cd SheetJSIonic
2021-10-03 01:41:36 +00:00
ionic cordova platform add browser --confirm </dev/null
ionic cordova platform add ios --confirm </dev/null
ionic cordova platform add android --confirm </dev/null
ionic cordova plugin add cordova-plugin-file </dev/null
2021-10-03 01:41:36 +00:00
npm install --save @ionic-native/core
npm install --save @ionic-native/file
npm install --save xlsx
2021-10-03 01:41:36 +00:00
cp ../ionic-app.module.ts src/app/app.module.ts
cd -
fi
2021-10-03 01:41:36 +00:00
cp ionic.ts SheetJSIonic/src/app/home/home.page.ts