Coder Social home page Coder Social logo

single-spa-portal-example-vue-example's Introduction

Fork of single-spa-portal-example with VueJS more features such as:

  • VueRouter implemented
  • Redux implemented in vue4app project

single-spa-portal-example-vue-example's People

Contributors

me-12 avatar egoisticum avatar joeldenning avatar themcmurder avatar

Stargazers

 avatar ChasLui avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

terry-bear

single-spa-portal-example-vue-example's Issues

How this works in production mode?

Thanks @egoisticum for the fork. I'm gonna try it right away!

However, I'm still in doubt of how this will work in production. Let's say you compile a production build of a Vue app, as well as the Single SPA Portal app. Then how do you link the compiled Vue app into the Portal? I mean, in the singleSpaEntry.js there are references to the ./App.vue file, but not at all to the compiled dist folder. Does this means that this solution only works with non compiled, in development projects?

What I am trying to achieve here is this scenario:

  • Compiled Portal in production mode (either made with VueJS, Angular, React, whatever framework I choose)
  • Compiled VueJS App1 as a standalone application, mounted in real-time by the Portal, accesible by a defined route.
  • Compiled Angular App2 as a standalone application, mounted in real-time by the Portal, accesible by a defined route.

This way, our App1 team can work in their own repository, republish the app to a pre-stablished production folder, and the Portal will still be able to found it and mount it in real-time. The Portal team and the App2 team will not be interrupted by this release, and for the end user it will be transparent as well.

Thanks in advance.

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.