Skip to content

Commit 9b617d8

Browse files
committed
全栈打包工程化配置 以及 static 资源
1 parent 02362b8 commit 9b617d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2583
-11
lines changed

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = {
2222
// allow async-await
2323
'generator-star-spacing': 0,
2424
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
25+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
26+
'space-before-function-paren':0
2627
}
2728
}

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.css linguist-language=vue
2+
*.vue linguist-language=vue
3+
*.html linguist-language=vue

Makefile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
build:
3+
@npm run build:app
4+
5+
init:
6+
@cordova create app com.awesomeapp awesome; \
7+
cd app; \
8+
cordova platform add ios --save; \
9+
cordova platform add android --save; \
10+
cordova requirements
11+
12+
ios:
13+
@cd app; \
14+
cordova run ios
15+
16+
android:
17+
@cd app; \
18+
cordova run android
19+
20+
.PHONY: init build ios android

0 commit comments

Comments
 (0)