Comments (3)
vue 3 目前编译还是会有问题 ,有进展会进一步同步 可以先用 非 swc 版本
from emp.
有报错堆栈吗 可以发下 代码的github 地址
from emp.
按照上面的方式引入
yarn run v1.22.19
$ emp dev
(node:21592) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'presets' of undefined
at D:\hzx_work\business\business-center\node_modules@efox\plugin-vue-3\dist\index.js:17:35
at Object.tap (D:\hzx_work\business\business-center\node_modules\webpack-chain\src\Use.js:14:20)
at PluginBabelVue3 (D:\hzx_work\business\business-center\node_modules@efox\plugin-vue-3\dist\index.js:16:10)
at D:\hzx_work\business\business-center\node_modules@efox\emp\dist\config\plugins.js:15:27
at Array.map ()
at ConfigPlugins.setup (D:\hzx_work\business\business-center\node_modules@efox\emp\dist\config\plugins.js:13:62)
at exec (D:\hzx_work\business\business-center\node_modules@efox\emp\dist\cli\index.js:52:33)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ...
to show where the warning was created)
(node:21592) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:21592) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 5.97s.
from emp.
Related Issues (20)
- 有umi工程接入示例吗 HOT 1
- emp对应得java用什么架构 HOT 1
- 与emp-config.js同级的html,要如何配置才能访问这个html?直接用127.0.0.1:9009/code.html访问失败 HOT 1
- 在使用过程中会有报错,查看依赖的commander 已经安装了。 HOT 3
- emp v2.6.6 在vue项目中如何实现三级共享的?比如ant design vue 这种组件库如何只加载一次? HOT 1
- 请问umi 如何集成 emp HOT 1
- .env文件解析优化 HOT 1
- 《Vue3 也能用上 Vue2 组件 From EMP》项目示例丢失 HOT 2
- efox/emp 依赖的less和less-loader与antd 依赖的冲突问题 HOT 1
- 环境变量引起的报错,emp-config中没有配置define HOT 1
- 官网图片展示错误,裂了 HOT 2
- exposes只能暴露组件吗,可以添加封装的公共方法js文件吗 HOT 1
- vue2脚手架项目迁移,读取不到env里配置的环境变量
- EMP2.7.1下使用Vue-3-project工程打包失败 HOT 1
- __VUE_PROD_DEVTOOLS__ is not defined HOT 2
- 在库中使用vue插槽会使currentRenderingInstance为null HOT 6
- vue-tsc: 1.8.27([email protected]) 没有__internal__ 字段 HOT 1
- EMP3环境下,yarn出现webpack module未安装问题 HOT 1
- The generated code contains 'async/await' because this module is using "external script". HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emp.