Go to file
Araozu 2ddf210a5f Color scheme for dark mode 2024-06-16 20:17:18 -05:00
.vscode Init 2024-05-27 15:27:05 -05:00
build Init 2024-05-27 15:27:05 -05:00
frontend Color scheme for dark mode 2024-06-16 20:17:18 -05:00
scripts Init 2024-05-27 15:27:05 -05:00
.gitignore Load random album list from backend 2024-05-29 10:48:50 -05:00
README.md Init 2024-05-27 15:27:05 -05:00
albumCover.go Add minial animations to Ui 2024-05-29 19:10:05 -05:00
app.go Init 2024-05-27 15:27:05 -05:00
go.mod Load & cache album covers 2024-05-29 16:25:33 -05:00
go.sum Load & cache album covers 2024-05-29 16:25:33 -05:00
main.go Remove daisy, rewrite login UI 2024-06-16 18:13:03 -05:00
session.go Color scheme for dark mode 2024-06-16 20:17:18 -05:00
types.go Cache album covers rewritten 2024-05-29 17:19:57 -05:00
wails.json Init 2024-05-27 15:27:05 -05:00

README.md

English | 中文

wails-template-solid-ts

Wails template which includes: Vite, Solid, TypeScript out of the box

Use this template

wails init -n my-wails-solid -t https://github.com/xijaja/wails-template-solid-ts

Live Development

Run wails dev in the project directory to start it.

If you want to debug in the browser, please enter the frontend directory in another terminal, and then execute npm run dev, the front-end development server will run on http://localhost:34115.

Tailwindcss

If you need to use tailwindcss and postcss, please enter the frontend directory, Then run the command:

# isntall
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

# init tailwind.config.cjs and postcss.config.cjs
npx tailwindcss init tailwind.config.cjs -p

Create tailwind.css file and write:

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

Finally, import in frontend/src/index.tsx:

import "./tailwind.css";

Building

To build a redistributable, production mode package, use wails build.