luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.57k stars 156 forks source link

Experimenting with optional vite integration. #1729

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago

Purpose

Ref #1724

Description

This is an experiment to test if we can keep mix integration while allowing for vite to be used optionally. In theory, you would just need to update your load_manifest() call to point to ./public/manifest.json, and a second use_vite: true arg. The actual setup for Vite would still need to be done, but you can use https://github.com/jwoertink/vite_lucky/ as a sort of reference.

Checklist