-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dist folder not created #86
Comments
Have you tried to follow this guide? |
Yes I have. That’s where I copied the Yaml file from. |
You also need to update your astro config to generate a static build: export default defineConfig({
output: "static",
// adapter: vercel(),
integrations: [
tailwind({
config: {
applyBaseStyles: false,
},
}),
svelte(),
],
}); And then you will have to update the |
Sorry for the late response. What is the quickest way to get this up and running in a test prod env? I just need to test out the speed improvements with my website. So if I use netlify for the build, would I still have to change the settings to create a static build? I tried it already and it also throws an error because it cannot find the dist folder. |
Also, i changed the settings locally, just the ones in config file without adding the getStaticPaths function and I got the following error, is it because I need to add the function?
|
Well I was able to get this deployed and running with netlify and the adapter so dist is not the issue anymore. Only thing now is that it is missing CSS so all styles are broken. |
sorry for all the messages, finally got it working. CSS issue was because while troubleshooting I had added a value for base in the config file which I did not need. So it was creating a path for the assets that did not exist. By the way, what do I need to do to get the checkout working? Does the theme have components for the checkout flow? |
Hi,
I'm sure this is just a documenatation issue but I'm trying out astro-shopify and with the existing config when I run npm run build, a dist folder is not created. I can see it has an adapter for vercel. I am testing this with Github pages and the build fails because it does not find dist folder. Can you please update docs or advise what I need to do?
Thank you!
The text was updated successfully, but these errors were encountered: