Skip to content

Commit

Permalink
chore: update website
Browse files Browse the repository at this point in the history
  • Loading branch information
showlotus committed Jan 9, 2024
1 parent ae5be6c commit c4fac7f
Show file tree
Hide file tree
Showing 20 changed files with 247,155 additions and 4 deletions.
Binary file added packages/jsx-explorer/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion packages/jsx-explorer/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vue JSX Explorer</title>
<title>@showlotus/babel-plugin-jsx</title>
<link rel="icon" href="favicon.png">
</head>

<body>
<div id="header"></div>
<div id="source" class="editor"></div>
<div id="output" class="editor"></div>
<script type="module" src="./src/index.ts"></script>
</body>

</html>
3 changes: 2 additions & 1 deletion packages/jsx-explorer/src/options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createApp, h, reactive } from 'vue';
import { type VueJSXPluginOptions } from '@showlotus/babel-plugin-jsx';
import babelPluginJsxPackage from '../../babel-plugin-jsx/package.json';

export { VueJSXPluginOptions };

Expand Down Expand Up @@ -29,7 +30,7 @@ const App = {
window.open('https://showlotus.github.io/babel-plugin-jsx/website');
},
},
'babel-plugin-jsx explorer'
`@showlotus/babel-plugin-jsx@${babelPluginJsxPackage.version}`
),

h('div', { id: 'options-wrapper' }, [
Expand Down
Loading

0 comments on commit c4fac7f

Please sign in to comment.