-
Notifications
You must be signed in to change notification settings - Fork 28
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
0 parents
commit 950af67
Showing
320 changed files
with
32,136 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,52 @@ | ||
VITE_BASE_URL=/ | ||
|
||
VITE_APP_TITLE=PanisAdmin | ||
|
||
VITE_APP_DESC=PanisAdmin is a fresh and elegant admin template | ||
|
||
# the prefix of the icon name | ||
VITE_ICON_PREFIX=icon | ||
|
||
# the prefix of the local svg icon component, must include VITE_ICON_PREFIX | ||
# format {VITE_ICON_PREFIX}-{local icon name} | ||
VITE_ICON_LOCAL_PREFIX=icon-local | ||
|
||
# auth route mode: static | dynamic | ||
VITE_AUTH_ROUTE_MODE=dynamic | ||
|
||
# static auth route home | ||
VITE_ROUTE_HOME=home | ||
|
||
# default menu icon | ||
VITE_MENU_ICON=mdi:menu | ||
|
||
# whether to enable http proxy when is dev mode | ||
VITE_HTTP_PROXY=Y | ||
|
||
# vue-router mode: hash | history | memory | ||
VITE_ROUTER_HISTORY_MODE=history | ||
|
||
# success code of backend service, when the code is received, the request is successful | ||
VITE_SERVICE_SUCCESS_CODE=200 | ||
|
||
# logout codes of backend service, when the code is received, the user will be logged out and redirected to login page | ||
VITE_SERVICE_LOGOUT_CODES=600,401 | ||
|
||
# modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal | ||
VITE_SERVICE_MODAL_LOGOUT_CODES=401 | ||
|
||
# token expired codes of backend service, when the code is received, it will refresh the token and resend the request | ||
VITE_SERVICE_EXPIRED_TOKEN_CODES=40101 | ||
|
||
# when the route mode is static, the defined super role | ||
VITE_STATIC_SUPER_ROLE=R_SUPER | ||
|
||
# permission button auth mode : user_info | route_meta | ||
# user_info not implemented, need backend to cooperate and return data. | ||
VITE_AUTH_BUTTON_MODE=route_meta | ||
|
||
# sourcemap | ||
VITE_SOURCE_MAP=N | ||
|
||
# Used to differentiate storage across different domains | ||
VITE_STORAGE_PREFIX=SOY_ |
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,7 @@ | ||
# backend service base url, prod environment | ||
VITE_SERVICE_BASE_URL=https://domain.com/api/ | ||
|
||
# other backend service base url, prod environment | ||
VITE_OTHER_SERVICE_BASE_URL= `{ | ||
"demo": "http://localhost:9529" | ||
}` |
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,7 @@ | ||
# backend service base url, test environment | ||
VITE_SERVICE_BASE_URL=http://127.0.0.1:9999 | ||
|
||
# other backend service base url, test environment | ||
VITE_OTHER_SERVICE_BASE_URL= `{ | ||
"demo": "http://localhost:9634" | ||
}` |
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,13 @@ | ||
"*.vue" eol=lf | ||
"*.js" eol=lf | ||
"*.ts" eol=lf | ||
"*.jsx" eol=lf | ||
"*.tsx" eol=lf | ||
"*.mjs" eol=lf | ||
"*.json" eol=lf | ||
"*.html" eol=lf | ||
"*.css" eol=lf | ||
"*.scss" eol=lf | ||
"*.md" eol=lf | ||
"*.yaml" eol=lf | ||
"*.yml" eol=lf |
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,36 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
!.vscode/settings.json | ||
!.vscode/launch.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
package-lock.json | ||
yarn.lock | ||
|
||
.VSCodeCounter | ||
.env.prod |
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,4 @@ | ||
registry=https://registry.npmmirror.com/ | ||
shamefully-hoist=true | ||
ignore-workspace-root-check=true | ||
link-workspace-packages=true |
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,8 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"printWidth": 150, | ||
"trailingComma": "none" | ||
} |
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,22 @@ | ||
{ | ||
"recommendations": [ | ||
"afzalsayed96.icones", | ||
"antfu.iconify", | ||
"antfu.unocss", | ||
"dbaeumer.vscode-eslint", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"formulahendry.auto-close-tag", | ||
"formulahendry.auto-complete-tag", | ||
"formulahendry.auto-rename-tag", | ||
"lokalise.i18n-ally", | ||
"mhutchie.git-graph", | ||
"mikestead.dotenv", | ||
"naumovs.color-highlight", | ||
"pkief.material-icon-theme", | ||
"sdras.vue-vscode-snippets", | ||
"vue.volar", | ||
"whtouche.vscode-js-console-utils", | ||
"zhuangtongfa.material-theme" | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Vue Debugger", | ||
"url": "http://localhost:9527", | ||
"webRoot": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "TS Debugger", | ||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx", | ||
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"], | ||
"program": "${file}" | ||
} | ||
] | ||
} |
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,23 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
"editor.fontFamily": "MonoLisa-Regular", | ||
"editor.fontSize": 13, | ||
"editor.tabSize": 2, | ||
"editor.wordWrap": "wordWrapColumn", | ||
"editor.wordWrapColumn": 200, | ||
"eslint.experimental.useFlatConfig": true, | ||
"editor.formatOnSave": false, | ||
"eslint.validate": ["html", "css", "scss", "json", "jsonc"], | ||
"i18n-ally.displayLanguage": "zh-cn", | ||
"i18n-ally.enabledParsers": ["ts"], | ||
"i18n-ally.enabledFrameworks": ["vue"], | ||
"i18n-ally.editor.preferEditor": true, | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.localesPaths": ["src/locales/langs"], | ||
"prettier.enable": false, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"unocss.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,4 @@ | ||
FROM nginx | ||
COPY dist/ /usr/share/nginx/html/ | ||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf | ||
EXPOSE 443 |
Oops, something went wrong.