We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd4d7d9 commit 3f232bfCopy full SHA for 3f232bf
meta.js
@@ -6,17 +6,23 @@ const {
6
runLintFix,
7
printMessage,
8
} = require('./utils')
9
+const pkg = require('./package.json')
10
+
11
+const templateVersion = pkg.version
12
13
module.exports = {
14
helpers: {
- if_or: function(v1, v2, options) {
15
+ if_or(v1, v2, options) {
16
if (v1 || v2) {
17
return options.fn(this)
18
}
19
20
return options.inverse(this)
21
},
22
23
+ template_version() {
24
+ return templateVersion
25
+ },
26
prompts: {
27
name: {
28
type: 'string',
template/config/index.js
@@ -1,5 +1,5 @@
1
'use strict'
2
-// Template version: 1.2.7
+// Template version: {{ template_version }}
3
// see http://vuejs-templates.github.io/webpack for documentation.
4
5
const path = require('path')
0 commit comments