A lightweight Elit starter with a polished single-page app, a reactive counter, and no API setup.
- A small web app in
src/main.ts - CSS-in-JS styling in
src/styles.ts - Build, preview, mobile, desktop, and WAPK config in
elit.config.ts - Hidden scaffold files for
.gitignore,.wapkignore, and.wapkpatch
npm install
npm run devOpen http://localhost:3003 to view your app.
src/main.ts- main web entry with a reactive counter and starter layoutsrc/styles.ts- app styling usingelit/stylesrc/mobile.ts- simple native preview entry for mobile modepublic/index.html- browser entry document
npm run dev- start the dev server with HMRnpm run build- build the app for productionnpm run preview- preview the production build locallynpm run mobile:sync- sync the web build into the mobile shellnpm run desktop:run- run the desktop shell