Maïeul — Today at 12:54 PM
if you use the static SSGadapter https://qwik.dev/docs/deployments/static/ you should have an index.html in your dist folder iirc
it doesn't work. I've tried npm run build after enabling it but it doesnt generate /dist/index.html in the /dist folder.
#How to convert existing qwik city builder.io created app to one with a custom golang backend?
25 messages · Page 1 of 1 (latest)
I just attempted in a sandbox, and if i add the static adapter, and run build, it does indeed have an index.html in the dist folder
https://stackblitz.com/edit/qwik-starter-mbiwna?file=dist%2Findex.html
Can you verify you are on 1.7.1 and have added the adapter properly?
For added clarity to those who might not have followed in the generel channel. If i am not mistaken, what you are attempting to do, is create a QwikCity application, that calls Endpoints, that you have written in GoLang and are attempting to have the front and backend deployed to the same server correct? Might be beneficial to write out the question a little more in the first post so people can understand the whole scope of the issue
how to use 1.7.1?
i just found out i'm using 1.6.0
cant believe 1.7.1 is out so quick? i thought i installed the lastest 1-2 weeks ago.
ok now i searched docs and cant find instructions on how to upgrade qwik. care to share the proper upgrade procedure?
Just update the versions in your package.json and install again
ok. doing so now, will revert.
i did the static add and change the domain name but it's still not showing. using qwik 1.7.1 now
npm run build.
is there some config file i need to edit manually to have the index.html show up?
maybe it doesn't work on your current setup?
Can you reproduce your issue in a sandbox?
Have you tried to do same as here #1261062223149662218 message ?
You can also
pnpm create qwik@latest
pnpm run qwik add static
on a fresh new project to see what it's doing
using npm, is pnpm the officially supported version of qwik? not very keen on non standard stuff. my os is overloaded
nah you can use npm no worries
my sandbox i used npm, so shouldnt be an issue
it's not working. how to show my setup? any default command to do so?
Well you could create a sandbox with https://qwik.new or create a new public repo on github that reproduces your issue.
this works with new installation. but doesnt work with existing one that i have created with builder.io option
I've never used builder.io :/
What happens if you add builder.io to a new install?, trying to narrow down the possible issues...