sheetjs/demos/angular2/ionic.sh

17 lines
649 B
Bash
Raw Permalink 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
2022-04-14 07:27:38 +00:00
npm install --save https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz
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