当前位置:网站首页>解决qiankun中子应用外链文件无法获取
解决qiankun中子应用外链文件无法获取
2022-07-01 04:36:00 【进阶的巨人001】
qiankun是无法获取到子应用中index.html中的外链文件的,所以得去父应用的config.ts中重新引入一遍
externals: {
X: 'X'
},
headScripts: [
{
src: '/x.js' },
],
注意externals里面的名字得和子应用一样,这样避免一些问题
边栏推荐
- OSPF notes [multiple access, two multicast addresses with OSPF]
- Concurrent mode of different performance testing tools
- Daily algorithm & interview questions, 28 days of special training in large factories - the 13th day (array)
- 【硬十宝典】——1.【基础知识】电源的分类
- How to do the performance pressure test of "Health Code"
- Difference between cookie and session
- js 图片路径转换base64格式
- Basic usage, principle and details of session
- 【硬十宝典目录】——转载自“硬件十万个为什么”(持续更新中~~)
- Measurement of quadrature axis and direct axis inductance of three-phase permanent magnet synchronous motor
猜你喜欢

2022 a special equipment related management (elevator) simulation test and a special equipment related management (elevator) certificate examination

How to use maixll dock

Annual inventory review of Alibaba cloud's observable practices in 2021

Question bank and answers for chemical automation control instrument operation certificate examination in 2022
![Ospfb notes - five messages [ultra detailed] [Hello message, DD message, LSR message, LSU message, lsack message]](/img/aa/a255d225d71e6ba2b497f8d59f5f11.jpg)
Ospfb notes - five messages [ultra detailed] [Hello message, DD message, LSR message, LSU message, lsack message]

扩展-Fragment

Applications and features of VR online exhibition

Cmake selecting compilers and setting compiler options

Odeint et GPU

The index is invalid
随机推荐
[difficult] sqlserver2008r2, can you recover only some files when recovering the database?
Maixll-Dock 快速上手
2022 a special equipment related management (elevator) simulation test and a special equipment related management (elevator) certificate examination
2022-02-15 (399. Division evaluation)
【LeetCode】100. Same tree
LM小型可编程控制器软件(基于CoDeSys)笔记十九:报错does not match the profile of the target
VR线上展览所具备应用及特色
神经网络-卷积层
Introduction to JVM stack and heap
Leecode record 1351 negative numbers in statistical ordered matrix
1. Mobile terminal touch screen event
Leecode question brushing record 1332 delete palindrome subsequence
CF1638E. Colorful operations Kodori tree + differential tree array
【硬十宝典】——1.【基础知识】电源的分类
Haskell lightweight threads overhead and use on multicores
Maixll-Dock 使用方法
js 图片路径转换base64格式
Ten wastes of software research and development: the other side of research and development efficiency
Pytorch(三) —— 函数优化
MySQL advanced -- you will have a new understanding of MySQL