Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I use TypeScript to create an app using Shopify CLI?

How can I use TypeScript to create an app using Shopify CLI?

seymur_crsp
Shopify Partner
67 4 10

I want to use TypeScript to build an app, but can't see such option. How can I tell Shopify CLI to create app template with TypeScript ?

Replies 3 (3)

PROPEL-AGENCY
Shopify Partner
17 0 2

Hi @seymur_crsp 

The Shopify CLI and Node template app repo does not support Typescript and the Shopify team have indicated that it never will:
https://github.com/Shopify/shopify-app-template-node/issues/690#issuecomment-1544724105)

However there are a couple of good community template forks which support Typescript:
https://github.com/KaiSpencer/shopify-app-template-node-ts
https://github.com/SaeedYasin/shopify-app-template-node

We build apps in Typescript and have good experience with it. 
Let me know if you need any help.

Thanks,

 

Luke

danhho
Shopify Partner
22 1 6

Hi @PROPEL-AGENCY, Thanks for your information, but I have question, if I use above template how can I release my app to shopify, because I see in docs of template it said just run build in frontend folder and no need to build in BE

Aiwha
Shopify Partner
1 0 0

Do you know what this means for maintaining the app with shopify CLI? Do they have migrations and such and will you then need to update it manually?