https://serverless-stack.com/ logo
#help
Title
# help
j

Jon Holman

03/05/2022, 9:02 PM
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

thdxr

03/05/2022, 9:07 PM
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

Jon Holman

03/05/2022, 9:08 PM
thanks. Just wanted to make sure I'm not missing the piece that picks up the environment variables from the backend.
d

Devin

03/05/2022, 9:18 PM
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

Jon Holman

03/05/2022, 9:21 PM
it had been so long since I started a new project...lol