Copied to clipboard

Flag this post as spam?

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


  • Mus'ab 158 posts 387 karma points notactivated
    Apr 14, 2020 @ 10:39
    Mus'ab
    0

    using vue.js with Umbraco

    is there any risk to use a vue.js with Umbraco in the same project? because both of them are executed at runtime? and if there is? what is it and how to avoid them?

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Apr 14, 2020 @ 14:43
    Alex Skrypnyk
    0

    Hi Musab

    Do you want to use VuewJs in the back office or frontend?

    On the frontend it's 100% safe.

  • Mus'ab 158 posts 387 karma points notactivated
    Apr 14, 2020 @ 14:48
    Mus'ab
    0

    no not in the back office can I use the full power of VuewJs with a razor at the same time?

  • Mus'ab 158 posts 387 karma points notactivated
    Apr 14, 2020 @ 14:54
    Mus'ab
    0

    Can you give me some insights about how to use VueJs in Umbraco projects

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Apr 14, 2020 @ 16:34
    Alex Skrypnyk
    0

    Sorry, but no, I didn't use it in the back office.

  • Mus'ab 158 posts 387 karma points notactivated
    Apr 15, 2020 @ 07:57
    Mus'ab
    0

    hi Alex

    I don't want to use it in the back office!

    I want to use it in the frontend

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Apr 15, 2020 @ 09:56
    Alex Skrypnyk
    0

    Hi Mus'ab

    THen use it! There is no problems with VueJs in the frontend. Let us know how it goes.

    Thanks,

    Alex

  • Julien Kulker 75 posts 427 karma points c-trib
    Apr 15, 2020 @ 08:42
    Julien Kulker
    1

    Hi Mus'ab,

    For a project we created a website using vuejs only. There is no limitations at all to do so.

    We created a umbraco instance and developed a webservice to make the content avaible for the vuejs application.

    The vuejs communicate with the webservice to get its content from Umbraco.

    What we did was some kind of headless approach.

    There is also a package: https://github.com/rasmusjp/umbraco-graphql what can be handy it makes all the content avaible trough grahql.

    Greetz Julien

  • Paul 6 posts 75 karma points
    Apr 26, 2020 @ 01:31
    Paul
    0

    There should be no risk. The only question is how you plan to get content data. You can use the view to initialize the data......or you can use WebApi calls to fetch it. I'd think for something like a list of blog entries, you probably want to have at least a smattering of blog posts in the initial data. And for something like filtering/sorting the list, Vue would be a much nicer user experience compared to a page reload.

Please Sign in or register to post replies

Write your reply to:

Draft