Ekilox is built using Tauri, Preact, and Typescript with Vite.
To optimize your development environment, set up your IDE with:
- main.tsx: Houses global configurations.
- App.tsx: Configuration specific to the main application component.
- components/: Contains individual component pages.
Each component starts with 100% height and is identified with ID="[component]".
Nest all styles under #[component] to apply them exclusively to that component.
- signals/: Global signaling modules.
- isDarkTheme: Manages dark theme settings.
- title: Controls window and menu titles.
- isMenuToggled: Manages menu toggle state.
- left[Nabvar | Footer]Element and right[Nabvar | Footer]Element: Add elements to the left and right menu or footer respectively.
- templates/: Contains reusable fragment templates.
- Fragment used for displaying loading indicators.
- Related to signals/Menu.tsx.
- Allows adding links using
const links: LinkProps[] = [...]
- types/: Custom TypeScript types.
bun i
bun tauri dev
- Enable on main.tsx:
import DisableDevtool from 'disable-devtool';DisableDevtool();
- Add x86_64-pc-windows-msvc if you don't have intalled it already:
rustup target add i686-pc-windows-msvc - Run
bun tauri build --target i686-pc-windows-msvc - You'll find the project on
src-tauri/target/i686-pc-windows-msvc/release/bundle/