Repository navigation
From my limited understanding of SSGs... #469
Unanswered
hotsaucejake
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a separated API that also serves the site / frontend as well. I've been able to successfully serve both an Angular and Vue project with the following method / workflow:
outDirpointing to a folder relative to the project. It's basically placing the files into thepublicfolder of my API projectindex.htmlfile that's generated to where it needs to go so that my backend controller can reference it and with it, all its assets/api/will use the vue-router in this caseIt's been a successful workflow in that I can work on my frontend and API separately. All I have to do is build the frontend where it automatically takes care of the steps above. Then on my backend code, I just have to commit it and push it up. Works great in production and developing.
I guess my ultimate question is, an SSG will create multiple
.htmlfiles and not just a singleindex.htmlfile? I don't think my project can work this way.Anyway, I stumbled upon this project and liked all the pre-configured tooling it had... especially the PWA plugin. I can move on and continue down the path I have now, but was curious if SSGs would work with my specific configuration.
All reactions