mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-06 14:50:21 -05:00
.. | ||
src | ||
.eslintrc.json | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json | ||
vite.config.ts |
plugins-runtime
Go to to the this branch in the Penpot local code.
Open penpot/frontend/resources/templates/index.mustache
and replace the below:
<script type="importmap">
{ "imports": { "plugins-runtime": "/js/plugins-runtime.mjs" } }
</script>
New code:
<script type="importmap">
{"imports": {"plugins-runtime": "http://localhost:4200/index.mjs"}}
</script>
Run the penpot runtime with npm start
.
Now you can go to penpot and see the log
of this file plugins-runtime/src/index.ts
.