Coder Social home page Coder Social logo

Comments (10)

EvanBurbidge avatar EvanBurbidge commented on July 4, 2024 2

Yeah I'll write something up tonight as a basic example.

from hello-vue-components.

angeliski avatar angeliski commented on July 4, 2024

I would like to see that too :)

from hello-vue-components.

EvanBurbidge avatar EvanBurbidge commented on July 4, 2024

@angeliski have you done anything in regards to it? I'm still trying to crack it!

from hello-vue-components.

angeliski avatar angeliski commented on July 4, 2024

Hi @EvanBurbidge I don't tried, but maybe you should not expose the full application.
You can segregate your packages to export the routes config and use I main entry point like a orchestation .

Or you can use a SPA manager like: https://github.com/CanopyTax/single-spa

from hello-vue-components.

EvanBurbidge avatar EvanBurbidge commented on July 4, 2024

I might give that a shot. Need to keep trying this a little bit first though. Our BE wouldn't be setup to handle that.

Thanks for the tip @angeliski

from hello-vue-components.

angeliski avatar angeliski commented on July 4, 2024

@EvanBurbidge Would you be able to make an example repository available for me to take a look at? Maybe I can suggest some other approach.

from hello-vue-components.

EvanBurbidge avatar EvanBurbidge commented on July 4, 2024

@angeliski https://github.com/EvanBurbidge/mono-repo-tester/ there ya go, its simply build app2 as a lib and install into app1, but with lazy loaded routes in app2

from hello-vue-components.

chrisvfritz avatar chrisvfritz commented on July 4, 2024

Sorry for the delayed reply. I apparently wasn't watching this repo, so never saw notifications about issues/PRs. 😅 I think exporting an application is a different enough use case that it's beyond the scope of this project. However, feel free to keep discussing the problem here. 🙂

from hello-vue-components.

EvanBurbidge avatar EvanBurbidge commented on July 4, 2024

Hey @chrisvfritz no problem! @angeliski the approach i've ended up taking is to not compile the development applications, instead now I am writing projects and maintaining an internal vue cli plugin which will add all non duplicated peer deps into the "consuming applications". I'm also leveraging Lerna hoisting in order to ensure that my repo doesn't duplicate packages across the board.

from hello-vue-components.

angeliski avatar angeliski commented on July 4, 2024

Nice @EvanBurbidge ! You can share some code example how do you manager that?
I think will be really awesome see the orchestration working
Cheers

from hello-vue-components.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.