You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For folks to hang templates on in the codebase itself and have that be the fallback.
This wouldn't work in the official plugin, but would be useful for folks who clone this and want to add templates for things like Typography and Layout components.
The text was updated successfully, but these errors were encountered:
Also worth considering hosting the templates externally on an oauth'd account (eg. #22), or even more simply in an externally hosted/public JSON endpoint.
jake-figma
changed the title
Add demo of how to hardcode templates for node types
External JSON sync + demo file of hardcoded templates for node types
Feb 5, 2024
first cut playing around with this global templates concept. instead of being hardcoded (templates.ts) this would be loaded from a JSON endpoint. #14412db
Add a new JSON schema / type like:
For folks to hang templates on in the codebase itself and have that be the fallback.
This wouldn't work in the official plugin, but would be useful for folks who clone this and want to add templates for things like Typography and Layout components.
The text was updated successfully, but these errors were encountered: