We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
怎么找不到前端部署文件?
The text was updated successfully, but these errors were encountered:
弄了几天终于调通了, vue.config.js好像有点问题, outputDir 设为当前目录会报错: const FileManagerPlugin = require('filemanager-webpack-plugin') const Moment = require('moment')
module.exports = { publicPath: './', productionSourceMap: false, // 不产出 .map 文件
outputDir: './', devServer: {
ubuntu@instance-arm1:~/dev/diary$ npm run build
[email protected] build vue-cli-service build --mode production
✔ Building legacy bundle for production... ERROR Error:
Configuration Error: Do not set output directory to project root.
Error:
改成./dist 就没问题了。
Sorry, something went wrong.
No branches or pull requests
怎么找不到前端部署文件?
The text was updated successfully, but these errors were encountered: