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
[x] - An issue already exists detailing the issue/or feature request that this PR fixes
[x] - All specs are formatted with crystal tool format spec src
[x] - Inline documentation has been added and/or updated
[x] - Lucky builds on docker with ./script/setup
[x] - All builds and specs pass on docker with ./script/test
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 seconduse_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
crystal tool format spec src
./script/setup
./script/test