mirror of https://github.com/ElemeFE/element
Add 'version' attribute (#101)
parent
3a00406851
commit
e75f83c860
|
@ -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')
|
||||
});
|
||||
|
||||
|
|
|
@ -126,6 +126,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|||
};
|
||||
|
||||
module.exports = {
|
||||
version: '1.0.0-rc.3',
|
||||
install,
|
||||
SelectDropdown,
|
||||
Pagination,
|
||||
|
|
Loading…
Reference in New Issue