sheetjs_sheetjs/demos/vue/weex.sh

17 lines
399 B
Bash
Raw Normal View History

#!/bin/bash
if [ ! -e SheetJS ]; then
weexpack create SheetJS
cd SheetJS
npm install
weexpack platform add ios
sed -i 's/ATSDK-Weex/ATSDK/g' platforms/ios/Podfile
cd -
# weexpack run ios
fi
cp native.vue SheetJS/src/index.vue
if [ ! -e SheetJS/web/bootstrap.min.css ]; then
curl -O https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
mv bootstrap.min.css SheetJS/web/
fi