当前位置:网站首页>Cesium(3):ThirdParty/zip. js
Cesium(3):ThirdParty/zip. js
2022-07-07 16:29:00 【Touch】
1. edition
vue/cli 4.5.7
cesium 1.87.1
2. There will be problems during startup
in ./node_modules/cesium/Source/ThirdParty/zip.js
3. reason
Because in ./node_modules/cesium/Source/ThirdParty/zip.js The file uses import.meta grammar ,webpack Not supported by default , When building a project , The following errors will be reported , Prompt information needs to be added loader.
4. solve
(1) install loader
npm install @open-wc/webpack-import-meta-loader --save-dev
yarn add @open-wc/webpack-import-meta-loader --dev
(2) stay vue.config.js Add ( stay plugins[…] Back ):
rules: [{
test: /\.js$/,
use: {
loader: '@open-wc/webpack-import-meta-loader',
},
}, ]
边栏推荐
- 1亿单身男女“在线相亲”,撑起130亿IPO
- 【C 语言】 题集 of Ⅹ
- Odoo集成Plausible埋码监控平台
- Unity drawing plug-in = = [support the update of the original atlas]
- pycharm 终端部启用虚拟环境
- Bidding announcement: 2022 Yunnan Unicom gbase database maintenance public comparison and selection project (second) comparison and selection announcement
- The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
- Balanced binary tree (AVL)
- JS 模块化
- How to query the data of a certain day, a certain month, and a certain year in MySQL
猜你喜欢
Mysql database basic operation DQL basic query
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
"The" "PIP" "entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program."
You Yuxi, coming!
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
3000 words speak through HTTP cache
Odoo集成Plausible埋码监控平台
Plate - forme de surveillance par étapes zabbix
Notification uses full resolution
谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题
随机推荐
谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题
通知Notification使用全解析
01tire+ chain forward star +dfs+ greedy exercise one
Use moviepy Editor clips videos and intercepts video clips in batches
Leetcode-136-只出现一次的数(用异或来解答)
php 自带过滤和转义函数
The unity vector rotates at a point
logback.xml配置不同级别日志,设置彩色输出
121. 买卖股票的最佳时机
01tire+链式前向星+dfs+贪心练习题.1
Set the route and optimize the URL in thinkphp3.2.3
Tragedy caused by deleting the console statement
Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
MySQL数据库基本操作-DQL-基本查询
asyncio 概念和用法
修改配置文件后tidb无法启动
目标跟踪常见训练数据集格式
Unity3D_ Class fishing project, bullet rebound effect is achieved
Imitate the choice of enterprise wechat conference room
Mysql database basic operation DQL basic query