diff --git a/cutejava-front/package.json b/cutejava-front/package.json index 200012bf..4735754e 100644 --- a/cutejava-front/package.json +++ b/cutejava-front/package.json @@ -5,7 +5,8 @@ "author": "Odboy", "license": "Apache-2.0", "scripts": { - "dev": "vue-cli-service serve", + "dev-win": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "dev-linux": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", "build:prod": "vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview",