✨ feat: add version information
parent
272cb3d3a3
commit
f9dedfe5d7
|
|
@ -102,6 +102,9 @@ const MenubarDemo: React.FC<{
|
|||
>
|
||||
{i18n.t('Set Background Image')}
|
||||
</Menubar.Item>
|
||||
<Menubar.Item className={MenubarItem}>
|
||||
v{__APP_VERSION__}
|
||||
</Menubar.Item>
|
||||
</Menubar.Content>
|
||||
</Menubar.Portal>
|
||||
</Menubar.Menu>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ const config: UserConfigFn = ({ command, mode, ssrBuild }) => {
|
|||
base: mode === 'singlefile' ? './' : '/open-pose-editor/',
|
||||
define: {
|
||||
global: {},
|
||||
__APP_VERSION__: JSON.stringify('0.1.4'),
|
||||
__APP_VERSION__: JSON.stringify('0.1.5'),
|
||||
__APP_BUILD_TIME__: Date.now(),
|
||||
},
|
||||
build: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue