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", + }, + }, + }, +});