You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meta.js
+12-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,13 @@
1
-
{
1
+
module.exports={
2
+
"helpers": {
3
+
"if_or": function(v1,v2,options){
4
+
if(v1||v2){
5
+
returnoptions.fn(this);
6
+
}
7
+
8
+
returnoptions.inverse(this);
9
+
}
10
+
},
2
11
"prompts": {
3
12
"name": {
4
13
"type": "string",
@@ -69,8 +78,9 @@
69
78
"filters": {
70
79
".eslintrc.js": "lint",
71
80
".eslintignore": "lint",
81
+
"config/test.env.js": "unit || e2e",
72
82
"test/unit/**/*": "unit",
73
83
"test/e2e/**/*": "e2e"
74
84
},
75
85
"completeMessage": "To get started:\n\n cd {{destDirName}}\n npm install\n npm run dev\n\nDocumentation can be found at https://vuejs-templates.github.io/webpack"
Copy file name to clipboardExpand all lines: template/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,11 @@ npm run unit
23
23
# run e2e tests
24
24
npm run e2e
25
25
{{/e2e}}
26
+
{{#if_or unit e2e}}
26
27
27
28
# run all tests
28
29
npm test
30
+
{{/if_or}}
29
31
```
30
32
31
33
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
0 commit comments