提交 683307b2 编写于 作者: T tinyu

fix:搭建项目

上级 26a89330
...@@ -22,3 +22,11 @@ yarn lint ...@@ -22,3 +22,11 @@ yarn lint
### Customize configuration ### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/). See [Configuration Reference](https://cli.vuejs.org/config/).
### 命令
```SH
# 杀死所有node进程
pkill node
# 查看node进程列表
ps -ef|grep node
```
\ No newline at end of file
const { defineConfig } = require('@vue/cli-service') const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
devServer: {
host: 'localhost',
// port: 8089,
historyApiFallback: true,
allowedHosts: "all"
}
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册