Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • awm 187 posts 376 karma points
    Sep 12, 2024 @ 21:07
    awm
    0

    Using Umbraco to hold back-end data with a Vue front-end

    I'm working on a new project where I'd like to use Umbraco to manage content and then use Vue as the front-end app, which queries content using the Content Delivery Service.

    The only issue is how to set this up on the dev environment: I'm using Vite.AspNetCore to boot up the front end app, however this is only by setting up a template on the home node, with the app defined within - Umbraco is handling all the routing by default.

    Should I effectively be hosting 2 sites? One for the front end, and one for the back, with the front-end app being just an html template with vue, querying content via APIs? Or is it possible to host both on the same server?

    The issue I'm seeing right now is that Umbraco is managing the routing, where as I want the Vue app to manage the routing, with the exception of the /umbraco route to log into the CMS. Is this possible?

    How have others managed to set this up?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft