figma-plugin-vue-starter
figma-plugin-vue-starter copied to clipboard
Error upon first run
I followed the docs however this is the error I see when I run npm run watch
. How to remedy this issue?
Looks like the typescript hasn't compiled but I can't replicate this on my end.
Could you post the output of the npm run watch
command?
Seeing this as well after cloning for a new project.
Here's the output of npm run watch
:
Ah, maybe some confusion of how to get started.
How I started:
- Figma: Plugins > Development > New Plugin...
- Figma: Template: "With UI & browser APIs"
- Figma: Save as...
- Copy ID from the generated
manifest.json
- Paste into this project's
manifest.json
missing steps:
- You can just delete this new plugin from Figma now, you just needed an ID (Plugins > Manage > Remove...)
- Figma: Plugins > Development > New Plugin... > Link existing plugin
- Select this project's
manifest.json
file - Run
npm run watch
again - Figma: Plugins > {{ your plugin }}
- No errors!