Closed SilentRhetoric closed 3 months ago
Thanks for the feedback! This will be added to the pool for the big cli overhaul I want to do the next weeks :)
The docs now feature a step by step guide for vite that covers this exact problem: https://www.solid-ui.com/docs/installation/vite
The approach of setting
"paths": { "~/*": [ "./src/*" ] }
intsconfig.json
does not work in a vanilla SolidJS + Vite project. Installingvite-tsconfig-paths
and using it as a Vite plugin resolves the issue.Perhaps the docs could cover this, the code snippets could be set up in such a way that this paths resolution approach is not needed, or the
init
CLI command could install and configure this Vite dependency?