alibabacloud-alfa
alibabacloud-alfa copied to clipboard
阿里云微前端解决方案
原本样式隔离是通过`postcss`在所有样式前追加作用域——`pluginOptions.consoleOs.id`。 但是当`Vue`子应用在cli的配置中指定了`outputDir`时,会导致这个选择的作用加不上。 需要追加一个属性`cssBuildDir`才能解决。 这是属于bug,还是使用不当? 我这边看到的是`@alicloud/console-toolkit-plugin-os`插件读取css路径的位置有问题。 ```javascript postcss_prefix_wrapper_1.wrapCss(options.cssBuildDir || config.output.get('path'), options.cssPrefix || options.id, { ext: '.os.css', disableOsCssExtends: options.disableOsCssExtends, }); ``` `@alicloud/console-toolkit-plugin-os`这个源码在哪里?我想了解一下
在文档中:[指定路由定位到子应用的页面](https://aliyun.github.io/alibabacloud-console-os/guides/route#%E6%8C%87%E5%AE%9A%E8%B7%AF%E7%94%B1%E5%AE%9A%E4%BD%8D%E5%88%B0%E5%AD%90%E5%BA%94%E7%94%A8%E7%9A%84%E9%A1%B5%E9%9D%A2) 中有描述react中的主从路由同步的方式,但是在文档和源码中没有找到vue相关的模式。
看源码使用的是nodejs的fs模块,而不是MemoryFileSystem
目前 ConsoleOS Kernal 起初提供出一个 Singleton:false 配置来提供如下能力: 1.一个应用可以被同时初始化多次,并且同时存在,但是可以保持不同的状态。 2.在单例模式下,这个沙箱是被缓存起来下次使用的, 但是非单例下应用被卸载之后,相关的沙箱状态被完全销毁。 目前非单例模式的问题在于,第二次生成实例的时候没更新沙箱对象,导致报错。
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...