From ea8d07c17017cb4ae79a273b87385a0f9be1407b Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 9 May 2025 13:26:39 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 29 +++++++++++++++++++++++++++++ tsconfig.json | 42 ++++++++++++++++++++++++++++++++++++++++++ vue.config.js | 16 ++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 README.md create mode 100644 tsconfig.json create mode 100644 vue.config.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..f8056f1 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# sizaire + +## Project setup +``` +npm install +``` + +### Compiles and hot-reloads for development +``` +npm run serve +``` + +### Compiles and minifies for production +``` +npm run build +``` + +### Run your unit tests +``` +npm run test:unit +``` + +### Lints and fixes files +``` +npm run lint +``` + +### Customize configuration +See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..635f260 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,42 @@ +{ + "compilerOptions": { + "target": "esnext", + "module": "esnext", + "strict": true, + "jsx": "preserve", + "moduleResolution": "node", + "experimentalDecorators": true, + "skipLibCheck": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "useDefineForClassFields": true, + "sourceMap": true, + "baseUrl": ".", + "types": [ + "webpack-env", + "jest" + ], + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] + }, + "include": [ + "src/**/*.ts", + "src/**/*.tsx", + "src/**/*.vue", + "tests/**/*.ts", + "tests/**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..91d9e5f --- /dev/null +++ b/vue.config.js @@ -0,0 +1,16 @@ +const { defineConfig } = require("@vue/cli-service"); +module.exports = defineConfig({ + transpileDependencies: true, + devServer: { + host: "192.168.1.192", + port: 8089, + proxy: { + "/api": { + target: "http://192.168.1.192:8081", + changeOrigin: true, + pathRewrite: { "^/api": "/api" }, + logLevel: "debug", + }, + }, + }, +});