diff --git a/.eslintrc.js b/.eslintrc.js index d99c1e8..396c98d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,5 +15,6 @@ module.exports = { rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", + "@typescript-eslint/ban-types": "off", }, }; diff --git a/package.json b/package.json index c703907..83db1d9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "dev": "vue-cli-service serve", + "dev": "cross-env PORT=8000 vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, @@ -28,6 +28,7 @@ "@vue/cli-service": "~5.0.0", "@vue/eslint-config-typescript": "^9.1.0", "babel-plugin-component": "^1.1.1", + "cross-env": "^7.0.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", diff --git a/src/App.vue b/src/App.vue index 0c69ed8..feab023 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,20 +1,44 @@ - diff --git a/src/views/Home.vue b/src/views/Home.vue index c3d9f4c..05d8254 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,16 +1,5 @@ + + diff --git a/vue.config.js b/vue.config.js index ca2ee30..0727460 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,4 +2,7 @@ const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ transpileDependencies: true, lintOnSave: false, + configureWebpack: { + devtool: "source-map", + }, }); diff --git a/yarn.lock b/yarn.lock index d4c3250..6a5e137 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2539,6 +2539,13 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -2559,7 +2566,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==