blob: e1ff0950f33bb5796346b2fb6f8bced5c9a3c6fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
```
|