-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
119 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/go | ||
{ | ||
"name": "Go with MySQL and Vue 3", | ||
// Specify the Docker Compose file instead of a single image | ||
"dockerComposeFile": "./docker-compose.yml", | ||
// Define the service name of your application container defined in the Docker Compose file | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"Vue.volar", | ||
"esbenp.prettier-vscode", | ||
"redhat.vscode-yaml", | ||
"adpyke.vscode-sql-formatter", | ||
"golang.go", | ||
"GitHub.vscode-github-actions", | ||
"msyrus.go-doc", | ||
"ms-azuretools.vscode-docker", | ||
"ms-vsliveshare.vsliveshare", | ||
"actboy168.tasks" | ||
] | ||
} | ||
}, | ||
// Use 'postCreateCommand' to run commands after the container is created. Add npm | ||
"postCreateCommand": "go install github.com/swaggo/swag/cmd/swag@latest && sudo apt-get update && sudo apt-get install -y nodejs npm && sudo npm install -g npm && sudo npm install -g yarn && sudo npm install -g prettier@latest && sudo npm install -g prettier-plugin-vue" | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/go | ||
{ | ||
"name": "Go with MySQL and Vue 3", | ||
// Specify the Docker Compose file instead of a single image | ||
"dockerComposeFile": "./docker-compose.yml", | ||
// Define the service name of your application container defined in the Docker Compose file | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"Vue.volar", | ||
"esbenp.prettier-vscode", | ||
"redhat.vscode-yaml", | ||
"adpyke.vscode-sql-formatter", | ||
"golang.go", | ||
"GitHub.vscode-github-actions", | ||
"msyrus.go-doc", | ||
"ms-azuretools.vscode-docker", | ||
"ms-vsliveshare.vsliveshare", | ||
"actboy168.tasks" | ||
] | ||
} | ||
}, | ||
// Use 'postCreateCommand' to run commands after the container is created. Add npm | ||
"postCreateCommand": "go install github.com/swaggo/swag/cmd/swag@latest && sudo apt-get update && sudo apt-get install -y nodejs npm && sudo npm install -g npm && sudo npm install -g yarn && sudo npm install -g prettier@latest && sudo npm install -g prettier-plugin-vue" | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
backend/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
declare module '*.vue' { | ||
import type { DefineComponent } from 'vue' | ||
const component: DefineComponent<{}, {}, any> | ||
export default component | ||
import type { DefineComponent } from 'vue'; | ||
const component: DefineComponent<{}, {}, any>; | ||
Check warning on line 5 in frontend/aashub/src/vite-env.d.ts
|
||
export default component; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"jsx": "preserve", | ||
"lib": ["DOM", "ESNext"], | ||
"baseUrl": ".", | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"paths": { | ||
"@/*": ["src/*"] | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"jsx": "preserve", | ||
"lib": ["DOM", "ESNext"], | ||
"baseUrl": ".", | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"paths": { | ||
"@/*": ["src/*"] | ||
}, | ||
"resolveJsonModule": true, | ||
"types": ["vite/client"], | ||
"allowJs": true, | ||
"strict": true, | ||
"strictNullChecks": true, | ||
"noUnusedLocals": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"isolatedModules": true, | ||
"skipLibCheck": true | ||
}, | ||
"resolveJsonModule": true, | ||
"types": [ | ||
"vite/client" | ||
], | ||
"allowJs": true, | ||
"strict": true, | ||
"strictNullChecks": true, | ||
"noUnusedLocals": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"isolatedModules": true, | ||
"skipLibCheck": true | ||
}, | ||
"include": [ | ||
"src/**/*", | ||
"src/**/*.vue" | ||
], | ||
"exclude": ["dist", "node_modules", "cypress"], | ||
"references": [{ "path": "./tsconfig.node.json" }], | ||
"include": ["src/**/*", "src/**/*.vue"], | ||
"exclude": ["dist", "node_modules", "cypress"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": ["vite.config.mts"] | ||
"compilerOptions": { | ||
"composite": true, | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": ["vite.config.mts"] | ||
} |