https://github.com/revuls/luminis
Framework para crear web apps ligeras y modernas
https://github.com/revuls/luminis
Last synced: 16 days ago
JSON representation
Framework para crear web apps ligeras y modernas
- Host: GitHub
- URL: https://github.com/revuls/luminis
- Owner: revuls
- License: mit
- Created: 2025-05-17T14:44:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-22T15:56:19.000Z (5 months ago)
- Last Synced: 2026-07-16T17:36:48.424Z (16 days ago)
- Language: JavaScript
- Size: 1.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Luminis
**Luminis** is a Progressive Web App (PWA) built with [Lit](https://lit.dev/), [Vite](https://vitejs.dev/), and [Vaadin Router](https://vaadin.com/router). It's designed to be fast, modular, and scalable, with smooth navigation and clean styling.
---
## ๐ Features
- โก๏ธ Fast rendering with **LitElement**
- ๐ SPA navigation with **Vaadin Router**
- ๐จ Global and scoped CSS styling
- ๐ฑ Installable as a **PWA**
- ๐ Smooth page transitions
- ๐งญ Reusable navigation component
- ๐ Built-in icon support with **Phosphor Icons**
---
## ๐๏ธ Project Structure
```
src/
โโโ assets/
โ โโโ icons/ โ Icons and logos
โ โโโ styles/ โ CSS styles folder
โ โ โโโ global.css โ Global styles
โโโ components/ โ Lit components and pages
โ โโโ pages/ โ Lit pages
โ โ โโโ home-page.js โ Home page example
โ โ โโโ about-page.js โ About page example
โ โ โโโ product-page.js โ Product page example with route params
โ โโโ shared/ โ Shared Lit components
โ โ โโโ NavBar.js โ Navigation component example
โโโ app.js โ Main app entry point
โโโ router/index.js โ Router configuration
โโโ index.html โ Main HTML file
โโโ manifest.webmanifest โ PWA manifest
โโ vite.config.js โ Vite configuration
```
---
## ๐ Icons
This project uses [@phosphor-icons/web](https://phosphoricons.com/) for its icon system. The icon web fonts are installed via npm and included in the main app entry.
**How to use an icon:**
```html
```
You can browse available icons at [https://phosphoricons.com/](https://phosphoricons.com/). Note that only the `regular` weight is imported by default in `src/app.js` to minimize bundle size, but others can be added if required.
---
## ๐ ๏ธ Requirements
- Node.js >= 18
- npm >= 8
---
## ๐ฆ Installation
```bash
npm install
```
---
## ๐งช Development
```bash
npm run dev
```
This will start the app at [http://localhost:5173](http://localhost:5173).
---
## ๐๏ธ Production Build
```bash
npm run build
```
Optimized files will be generated in the `/dist` folder.
---
## ๐ Preview Build
```bash
npm run serve
```
---
## ๐ฑ PWA
This app includes a `manifest.webmanifest` and uses `vite-plugin-pwa` to:
- Add to home screen
- Work offline (optional Service Worker)
- Define name, icon, and theme colors
---
## ๐งน Linting & Formatting
```bash
npm run lint # Detect problems
npm run lint:fix # Auto-fix issues
npm run format # Format code with Prettier
```
---
## ๐ License
MIT License ยฉ 2025