I just created a new sst project and was surprised...
# help
j
I just created a new sst project and was surprised there is not a frontend directory. Is there an option to create a new sst typescript project with a frontend in the template?
t
SST doesn't actually do too much for the frontend and it's hard for us to provide a standard since people have all kinds of setups
People usually bootstrap it after, I recommend vite + its starters
j
thanks. Just wanted to make sure I'm not missing the piece that picks up the environment variables from the backend.
d
In my case I pass them up through the stack. Something like
REACT_API_URL
for example. Is that part unclear? I can link you examples if you need em
j
it had been so long since I started a new project...lol