Closed provkritika closed 1 month ago
I have installed and enabled extension in VSCode but what is the next step. How to use it as I can't see anything related in command pallette
you have to command:
once you set the API key you’ll be able to send the second command and get the html code preview
After buying a key and inputting it into extension settings, and attempting to restart the extension as well as VS Code, running both commands results in an error.
command 'html-email-preview.setApiKey' not found command 'html-email-preview.fetchDevices' not found
How are you trying to run the commands ?
In order to run the commands you need to:
(remember that an html file needs to be opened in the editor in order to run successfully )
Can you confirm you're taking the above specified actions ?
I'm having the same issue, And am performing the steps like you described them above
I think I might've found the issue. When I have the VSCode devtools open, it's complaining about being unable to find the axios
module when trying to preview an email. That might cause these commands to break.
Looks like it's a missing dependency, as I don't see axios anywhere in the package.json
added missing dependency and pushed new version to VS Code Marketplace
Can confirm it works for me now! Thanks for the update
Sorry to necro an old issue, I would recommend we add this to the readme. It took me a bit to figure out how to set it up and I had to dig to find this issue.
I have installed and enabled extension in VSCode but what is the next step. How to use it as I can't see anything related in command pallette