An open API service indexing awesome lists of open source software.

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

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