mirror of
https://github.com/SomboChea/ui
synced 2024-06-02 01:25:05 +07:00
a89f363115
* feat: browser history is aware of basename * test: fix ui options global object * chore: fix comment
27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-us">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
<%= htmlWebpackPlugin.options.title %>
|
|
</title>
|
|
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/static/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<script>
|
|
window.__VERDACCIO_BASENAME_UI_OPTIONS = JSON.parse('<%= htmlWebpackPlugin.options.__UI_OPTIONS %>');
|
|
window.VERDACCIO_BASENAME = '<%= htmlWebpackPlugin.options.basename %>';
|
|
window.VERDACCIO_API_URL = '<%= htmlWebpackPlugin.options.verdaccioURL %>/-/verdaccio/';
|
|
window.VERDACCIO_SCOPE = '<%= htmlWebpackPlugin.options.scope %>';
|
|
window.VERDACCIO_LOGO = '<%= htmlWebpackPlugin.options.logo %>';
|
|
window.VERDACCIO_PRIMARY_COLOR = '<%= htmlWebpackPlugin.options.primary_color %>';
|
|
window.VERDACCIO_VERSION = '<%= htmlWebpackPlugin.options.version_app %>';
|
|
</script>
|
|
</head>
|
|
|
|
<body class="body">
|
|
<div id="root"></div>
|
|
</body>
|
|
|
|
</html>
|