Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地开发 yarn serve 报错 #22

Open
chris-envas opened this issue Mar 22, 2021 · 6 comments
Open

本地开发 yarn serve 报错 #22

chris-envas opened this issue Mar 22, 2021 · 6 comments

Comments

@chris-envas
Copy link

环境:
node: 10.20.0

请问这是怎么回事?

Configuration Error: Avoid modifying webpack output.path directly. Use the "outputDir" option instead.

@jinfang134
Copy link
Owner

我来看看,我本地好像没有这个问题

@chris-envas
Copy link
Author

thanks,我将vue.config.js中的output注释掉了,可以正常启动了,上面那个报错,是Vue-cli不推荐在修改webpack时,直接使用output修改,推荐使用outputDir来配置路径

@chris-envas
Copy link
Author

chris-envas commented Mar 23, 2021 via email

@jinfang134
Copy link
Owner

发一下需求,我来研究一下,这个库写了有一段时间了,一直没有来优化一下...

@chris-envas
Copy link
Author

chris-envas commented Mar 23, 2021 via email

@jinfang134
Copy link
Owner

我那个是数据驱动的,直接修改数据不就行了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants