Coder Social home page Coder Social logo

Comments (3)

pank789 avatar pank789 commented on July 22, 2024

My teammate fixed it .

Change the root-html-file/index.html

change the code as below
Add /js/ in url

"imports": {
"navbar": "http://localhost:8080/js/app.js",
"app1": "http://localhost:8081/js/app.js",
"app2": "http://localhost:8082/js/app.js",
"single-spa": "https://cdnjs.cloudflare.com/ajax/libs/single-spa/4.3.7/system/single-spa.min.js",
"vue": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js",
"vue-router": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-router.min.js"
}

from coexisting-vue-microfrontends.

kavinluo avatar kavinluo commented on July 22, 2024

我的队友修复了它。

更改root-html-file / index.html

更改代码,如下所示
在url 中添加/ js /

“ imports”:{
“ navbar”:“ http:// localhost:8080 / js / app.js ”,
“ app1”:“ http:// localhost:8081 / js / app.js ”,
“ app2”:“ http:// localhost:8082 / js / app.js “,
” single-spa“:” https://cdnjs.cloudflare.com/ajax/libs/single-spa/4.3.7/system/single-spa。 min.js “,
” vue“:” https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js “,
” vue-router“:” https://cdn.jsdelivr。 net/npm/[email protected]/dist/vue-router.min.js
}

@pank789
I'm sorry, I modified it according to what you said, it hasn't been fixed, the error still remains
thanks!!

from coexisting-vue-microfrontends.

joeldenning avatar joeldenning commented on July 22, 2024

I have updated the root html file in 6ffee3a. Thanks @pank789 for raising the issue - it was related to a change I made recently in 9b68084

from coexisting-vue-microfrontends.

Related Issues (20)

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.