"Couldn't find a template file for that component type."
I'm having trouble setting up a custom component template using Sapphire CLI. Here's the template file (
custom-listener.ts.sapphire
):
When running npx sapphire generate custom-listener test
it returns Couldn't find a template file for that component type.
Default component templates work normallySolution:Jump to solution
Solved by moving my custom templates folder to the root directory instead of inside
src
1 Reply
Solution
Solved by moving my custom templates folder to the root directory instead of inside
src