Skip to content

Commit

Permalink
added example for plugin explorer
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-demos-stefan-plugin-explorer-README.md,
  • Loading branch information
onsetsu committed Sep 26, 2024
1 parent 35ac48c commit 2b871df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions demos/stefan/plugin-explorer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Babel Plugin Explorer Demo

The babel.js plugin explorer allows developers to live program plugins to the babel transpiler used in Lively4.
Live programming provides instant feedback on the example input.
Further, Lively's self-sustaining nature allows you to apply changes to the compiler on-the-fly, thus, affecting all future module loads without the need to restart lively.

<script>
<button click={async evt => {
const explorer = await lively.openComponentInWindow('lively-plugin-explorer', undefined, lively.pt(1000, 800))
explorer.livelyExample();
}}>Start Babel Plugin Explorer</button>;
</script>

You can go to the trace visualization using the <button><i class='fa fa-search'></i></button> button in top right corner.

0 comments on commit 2b871df

Please sign in to comment.