codyhouse / codyhouse-framework

A lightweight front-end framework for building accessible, bespoke interfaces.
https://codyhouse.co/
MIT License
1.16k stars 173 forks source link

how to use it with vite ? #124

Closed omarherri closed 2 years ago

omarherri commented 2 years ago

Hi i'm trying to migrate from Webpack to Vite and one of the main issue i found is to merge all components js files into one file. I was wondering if i have to copy paste the content of all the js components in the main file or is there another way to import files ?

sebastiano-guerriero commented 2 years ago

Hi Omar, I'm not sure how Vite works, for we've never used it in our projects. Prob a question for the Vite community?

Cheers

omarherri commented 2 years ago

Yeah i do agree. i'm just more a PHP guy and i am not sure if i can use your framework in modular way. Like use export & import javascript syntaxes. I ended up switching back to Webpack.