diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8848f5a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "针对 localhost 启动 Chrome", + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..4aa3089 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,3 @@ +configureWebpack: { + devtool: process.env.NODE_ENV !== "production" ? "source-map" : ""; +}