Should I put marketing pages and app in seperate projects?

I was wondering if it would be better to put my Marketing website and applications into different projects. The thought would be that if I put them into one page, Vue would load a lot of the components etc for the marketing page when users are loging into the app and visa versa.

I would want to keep these seperate since users would only visit the marketing page pre-purchase and then migrate to using the app.

Is there a way to decide what is loaded client-side or is seperating this out into different projects the best way to seperate the two different expereiences?

the published app automatically splits the code at least by page. when you load one page the code specific for that page is loaded and executed.