first commit

This commit is contained in:
Timur Gordon
2025-07-21 00:17:46 +02:00
commit 4e43c21b72
54 changed files with 13922 additions and 0 deletions

17
examples/website/build.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo "Building Yew WASM Website..."
# Check if trunk is installed
if ! command -v trunk &> /dev/null; then
echo "Trunk is not installed. Installing..."
cargo install trunk
fi
# Build for development
echo "Building for development..."
trunk build
echo "Build complete! Files are in the 'dist' directory."
echo "To serve locally, run: trunk serve"
echo "To build for production, run: trunk build --release"