Comments (2)
I cloned the repo and did a fresh install and was unable to reproduce this issue.
My guess is that you have a different server running on port 8080 already, before you ran npm run serve
in the navbar. You should find any servers on port 8080 and stop them. Then run npm run serve
in the navbar. On linux/osx, you can do this:
lsof -i :8080
kill <pid>
cd coexisting-vue-microfrontends/navbar
npm run serve
from coexisting-vue-microfrontends.
@@@开发依赖安装了这个插件,解决了你描述的跨域问题 @zzh3319
"vue-cli-plugin-single-spa": "^1.0.1"
from coexisting-vue-microfrontends.
Related Issues (20)
- [QUESTION] Vite version of this O_O
- Coexisting vue2 and vue3
- Uncaught Error: systemjs-webpack-interop: There is no such module 'app1' in the SystemJS registry. Did you misspell the name of your module? HOT 1
- We're sorry but app1 doesn't work properly without JavaScript enabled. Please enable it to continue. HOT 1
- 请问如果需要通过router的name跳转页面,有没有好的解决方案呢?目前是不是只支持path跳转 HOT 5
- Issues with vue cli v4.x.x still happen HOT 2
- Images from the individual applications doesnt appear HOT 3
- I got the following error after my first clone! HOT 3
- When I don't start the root service, but I start the app1 service HOT 2
- app.js:1 Uncaught navbar: Application 'navbar' died in status LOADING_SOURCE_CODE: Unexpected token '<' HOT 3
- What happens when I add my own project to start?
- When I visited it, I found that it didn't seem to work anymore HOT 2
- codes can not be cloned HOT 1
- why do this in 'root-html-file/index.html' HOT 2
- My current needs need to be able to communicate in various projects and pass data to each other for access. HOT 1
- Question: New Example Repo HOT 2
- vue 3 and vue-router 4 HOT 6
- what if we use third-party ui library like element-ui,and has to import seperate css file HOT 2
- How to add SSR the proper way to this project? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coexisting-vue-microfrontends.