jerriclynsjohn / shopify-app-sveltekit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopify App using SvelteKit

Warning: Expermimental code ahead

Steps to follow

git clone https://github.com/unlocomqx/shopify-app-sveltekit my-app
cd my-app
npm install
# Switch to another folder
shopify create # You can also create an app on partners.shopify.com
# This will create an app and will clone the react app which we don't need
# Back to the clone folder 
shopify connect
# By now your .env file should be generated
shopify serve
# Shopify serve will update the urls of your app and will use ngrok to make your local server visible to the outside

Troubleshooting

If you encounter a 500 error, clear the browser cache and retry (it's a redirect cache issue)
If you encounter a 403 error, make sure to clear the cookies then retry shopify serve again.
If you encounter another issue, you can report it here

About


Languages

Language:TypeScript 49.5%Language:Svelte 40.2%Language:JavaScript 4.8%Language:CSS 4.8%Language:HTML 0.7%