Closed AcidLeroy closed 6 years ago
@YerkoPalma So how do you recommend deploying a choo app using bankai? It's not clear to me what I need to do.
I don't recommend deploying with bankai if your app has any dynamic routes
@YerkoPalma Thanks! I'll close this out.
I've been happily building and testing locally with bankai using the
create-choo-app
CLI tool. It's finally time to start deploying my app and I am having a bit of trouble. I've built my choo app and everything was put into thedist
directory. I then copied this directory into my static hosting on AWS s3. At first glance, everything seemed to work fine, but when I tried to access any of my dynamic routes, I get "404 page not found". Do I need to do something special in order to package up my routes properly? Running locally works fine with the development server, it's only when I try to package everything up and move it to S3 that my routes are failing and I am getting 404 errors.This works locally:
Thanks!