Shopify App CLI uses old version of polaris very annoying

Shopify App CLI uses old version of polaris very annoying

IliasTari
Shopify Partner
2 0 0

I'm building a great app but everytime I look at the docs of Polaris almost nothing is working anymore because the "Latest" version of Shopify app CLI is using v9 of Polaris and the docs of Polaris are written in v11.

 

I can't simply copy a whole index table for example or use the <Text> component it's very annoying.

 

Does someone know how I can migrate everything to the newest version of Polaris? Please don't refer to the migrate page because tbh it's a mess..

 

Thank you!

Replies 3 (3)

IliasTari
Shopify Partner
2 0 0

I have fixed it! Nevermind.

thibautreg
Shopify Partner
5 1 2

I'd like to know how you did it! Thanks @IliasTari 

librado_cruz
Shopify Partner
1 0 1

@thibautreg  Just go to the Frontend folder and uninstall polaris and install it again: npm uninstall @shopify/polaris  then:  npm i @shopify/polaris