Add 'version' attribute (#101)

pull/105/head
cinwell.li 2016-09-21 11:44:47 +08:00 committed by FuryBean
parent 3a00406851
commit e75f83c860
2 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ if (typeof window !== 'undefined' && window.Vue) {
};
module.exports = {
version: '{{version}}',
install,
{{list}}
};
@ -64,6 +65,7 @@ ComponentNames.forEach(name => {
var template = render(MAIN_TEMPLATE, {
include: includeComponentTemplate.join('\n'),
install: installTemplate.join('\n'),
version: require('../package.json').version,
list: listTemplate.join(',\n')
});

View File

@ -126,6 +126,7 @@ if (typeof window !== 'undefined' && window.Vue) {
};
module.exports = {
version: '1.0.0-rc.3',
install,
SelectDropdown,
Pagination,