gradio/scripts/build_frontend.sh
pngwn 37c8ee3974
use ui for frontend (#589)
* add static src to modify sketch

* add themes

* update all tooling to use the new frontend dir

* revert formatting

* update template index

* fix formatting

* fix scripts for new ui folder

* remoce console.logs

* remoce console.logs

* ensure dataeries clear works correctly

* ensure label chart has correct width

* remove cropper when component is destroyed

* update tailwind

* remove console logs

* fix formatting

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-10 19:22:22 +00:00

11 lines
207 B
Bash

#!/bin/bash
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
echo "Please run the script from repo directory"
exit -1
else
echo "Building the frontend"
cd ui
pnpm i --frozen-lockfile
pnpm build
fi