How to use .env in Solidjs

How to configure .env in Solidjs using vite.config


.env or Environment variables are a way to share piece of information around the modules and components. It also also helpful to hide the information from client.

To make thing work in Solidjs, we have to configure the vite to use the .env . Here is how ?

Author: Manoj

Developer and a self-learner, love to work with Reactjs, Angular, Node, Python and C#.Net

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.