Creating Scripts #515
johnlindquist
announced in
Docs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Creating Scripts
Pro-tips
Then hit Enter.
You can use TypeScript by opening the
Kit
tab and "Switch to TypeScript Mode"The files in the
~/.kenv/templates
dir will be used when creating new scripts. You can create a template with your personal data filled out~/.kenv/templates/john.js
then in your.env
, setKIT_TEMPLATE=john
Why the Import?
The line is not required, but this comment helps code editors to apply the correct type definition files for autocomplete/code-hinting.
Beta Was this translation helpful? Give feedback.
All reactions