diff options
| author | yum <yum.food.vr@gmail.com> | 2025-07-23 22:39:45 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-07-23 22:39:45 -0700 |
| commit | f6b93a20d754579008076e85f5c0a97e1bcbc258 (patch) | |
| tree | 7288699d6f22e76c4f30636a37e94265b3ef7708 /ui_design.md | |
| parent | f3782c200c9a2ec2b77708da67b4127a38465ad1 (diff) | |
| parent | 043a447133695bfd2285a534b941db972873a692 (diff) | |
Import FastTextPager repo
Diffstat (limited to 'ui_design.md')
| -rw-r--r-- | ui_design.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ui_design.md b/ui_design.md new file mode 100644 index 0000000..e1ff095 --- /dev/null +++ b/ui_design.md @@ -0,0 +1,39 @@ +# TaSTT UI + +The TaSTT is built using electron and tailwind.css. + +First, install nodejs. Open PowerShell as administrator: + +```bash +# Delete any existing install. +$ choco uninstall nodejs -y +$ choco install nodejs-lts -y +``` + +To build the app: +``` +$ npm install +$ npm run dev +``` + +For posterity, this is how I set up the ui directory initially. In a non-admin PowerShell window: + +```bash +# Check your node and npm versions. +$ node -v +v22.16.0 +$ npm -v +10.9.2 +# Set up directory +$ mkdir ui +cd ui +npm init -y +npm install --save-dev electron +# Get tailwind and deps +npm install --save-dev tailwindcss@3 postcss autoprefixer concurrently cross-env +npx tailwindcss init -p +# Install vue.js +npm install --save-dev vue@3 @vitejs/plugin-vue vite yaml +npm install --save-dev js-yaml +``` + |
