- Rust
- Tailwindcss
- Trunk
sudo apt-get update && apt-get install -y \
libssl3 \
libssl-dev \
libgcc-s1 \
libstdc++6 \
curl \- Yew (WA framework)
- Nostr-Minions (Nostr and PWA utils)
- Gloo (Logging)
- NostrO2 (Nostr Primitives)
cargo add yew --features csr hydration
cargo add nostr-minions
cargo add gloo
cargo add nostro2Create tailwind.config.js file
tailwindcss initadd content sources to tailwind.config.js
module.exports = {
content: [
'src/*.{html,rs}',
],
theme: {
extend: {},
},
plugins: [],
}build output file
mkdir styles
touch styles/input.css@tailwind base;
@tailwind components;
@tailwind utilities;build css output
tailwindcss -i styles/input.css -o styles/output.cssbuild index file if not present
touch index.htmlserve
trunk serve