mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-04 07:27:41 +08:00
fix: process.cwd error
在调用build/util/loadEnv()函数时会报process.cwd() is not a function #44
This commit is contained in:
parent
b3b08b947b
commit
be4404dcdc
@ -7,8 +7,9 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>后台管理系统</title>
|
||||
<script src="/sortable.min.js"></script>
|
||||
<script>
|
||||
window.process = {};
|
||||
<script type="module">
|
||||
import process from "process";
|
||||
window.process = process;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user