mmiesch / pycat-demo

Demonstrate collaborative tools for pycat-base
0 stars 0 forks source link

Svelte and Flask

A simple demo on how to use python as a back end for a svelte front end using Flask

Based on this Medium article


To install the Svelte server, run

npx degit sveltejs/template client
cd client
npm install

Whenever you change anything in client/src/, run this to recompile svelte. The results are put in client/public

cd client
npm run build