a1029563229 / blogs Goto Github PK
View Code? Open in Web Editor NEW博客文章收录
博客文章收录
切换子应用的时候,子应用的数据无法保持状态。
upload.js里面少了加载src_upload_js.js的这部分额。。。
1、'eslint' is not recognized as an internal or external command
2、缺少.eslintrc.cjs文件
3、lint检查报错:
`
F:\vite\vite-source-code\packages\vite\src\client\client.ts
1:1 error Parsing error: The keyword 'import' is reserved
F:\vite\vite-source-code\packages\vite\src\client\env.ts
1:9 error Parsing error: Unexpected token const
F:\vite\vite-source-code\packages\vite\src\client\overlay.ts
1:1 error Parsing error: The keyword 'import' is reserved
F:\vite\vite-source-code\packages\vite\src\client\tsconfig.json
2:12 error Parsing error: Unexpected token :
F:\vite\vite-source-code\packages\vite\src\node_tests_\asset.spec.ts
1:1 error Parsing error: The keyword 'import' is reserved
`
4、'run-s' is not recognized as an internal or external command
........
请问,父子应用通信是单向的还是双向的,比如,子应用可以向父应用传递数据吗
咋也不敢说 咋也不敢问 高喊大佬牛逼就完了
我使用一个vue作为主应用,然后接入3个子应用,每个子应用(自带vue-router)初始化刷新加载都没问题。但是直接使用pushState变更url地址后切换其他子应用时就会报错:提示加载模块失败
vue-router.esm.js?8c4f:1924 Error: Loading chunk page-sysmgr-user-index failed.
(missing: null)
at HTMLScriptElement.onScriptComplete (app.js:828)
at success (dynamicAppend.js?43c9:155)
at schedule (index.js?50b2:213)
at eval (index.js?50b2:221)
at new Promise ()
at eval (index.js?50b2:220)
但是这个模块JS明明是存在正确的,且已经触发了子应用暴露的mount方法的,但是由于模块加载失败,马上又触发了子应用的unmount方法了(初始化就加载此模块时没问题)。
请问大神知道是什么原因吗,谢谢指教!
node 10.15版本下 在主应用中定向到子应用时,主应用报了Error: read ECONNRESET at TCP.onStreamRead这个错
切换到node 8.12版本后恢复正常
和这篇博客上的问题类似,但是不知道原因 有没有大神解答下
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.