This template has been made by:
node scripts/setupTypeScript.js
in the client
folderClone into a folder called webapp
with the following command:
npx degit JackFallows/Flask-Svelte-App-Skeleton webapp
Then:
cd webapp
python3 -m pip install -r requirements.txt
cd client
npm install
Build the client code by running the following in the client
folder:
npm run build-debug
Then, using the Flask build profile in VSCode, run app.py
The following command in the client
folder is required to validate the TypeScript:
npm run validate
For a version with Playwright component tests support, see the playwright-component-tests branch.