-
**描述bug**
通过new URL('xxxx.png', import.meta.url).href 的方式在子应用中加载的图片,在主应用中无法正常加载。
**如何复现**
子应用端口 5179
主应用端口 5173
子应用中加载:
new URL('@/assets/images/hmi/bg-light.png', import.meta.url).h…
-
# vue3-admin-plus
**English** | [中文](./README-zh_CN.md)
> vue3 admin plus provides enterprise-level development demo
A new generation admin construct using vue3(setup-script)+vite2+eleme…
-
rt
"vite": "^2.5.4",
"monaco-editor": "^0.27.0",
"vite-plugin-monaco-editor-nls": "^1.0.8"
-
## I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issu…
-
环境:node版本14.16.1
启动后控制台提示:
mock.js:12 Uncaught TypeError: Cannot set property 'mock' of undefined
at webpackUniversalModuleDefinition (mock.js:12)
at mock.js:13
-
拉下来代码, yarn run build:test 构建速度非常慢, 经常卡在93%
`after chunk asset optimization (93%) SourceMapDevTool`
关闭了terser的parallel,依然很慢, 不知道作者有什么考虑?
-
```js
// vite.config.ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import qiankun from 'vite-plugin-qiankun'
export default defineConfig({
// base应该是生产环境配置的…
-
### 1, 如果用require 引入其他文件
package则无法引入。。。。。。。
- ./src/main/entry.js
```js
const { app, BrowserWindow } = require("electron");
const createProtocol = require("./protocol");
const isDevelopmen…
-
**package.json**
```json
"dependencies": {
"vant": "^3.4.5",
"vue": "^3.2.25",
}
```
**src/plugins/vant.ts**
```ts
import Vant from "vant";
export { Vant };
```
**src/mai…
-