commit 920d636f2b2f6b993fd9bebb5fab1eb338e40180 Author: wxx <642743457@qq.com> Date: Tue Oct 29 18:27:23 2024 +0800 18n diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..4c57388 --- /dev/null +++ b/.env.development @@ -0,0 +1,11 @@ +VITE_MODE=development +# 默认接口地址 +VITE_APP_BASE_URL=http://url.n18games.com/url.txt +# 是否连接外服socket +VITE_SOCKET_CERT=false +# 是否开启调试模式 +VITE_OPEN_CONSOLE=true + +VITE_PUBLIC_PATH='/' + +VITE_APP_BASE_IMG="http://res.n18games.com" \ No newline at end of file diff --git a/.env.localhost b/.env.localhost new file mode 100644 index 0000000..3a99ad9 --- /dev/null +++ b/.env.localhost @@ -0,0 +1,10 @@ +VITE_MODE=development +# 默认接口地址 +VITE_APP_BASE_URL=/api +# 是否连接外服socket +VITE_SOCKET_CERT=false +# 是否开启调试模式 +VITE_OPEN_CONSOLE=false + +VITE_PUBLIC_PATH='./' +VITE_APP_BASE_IMG="http://res.n18games.com" diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..1c04766 --- /dev/null +++ b/.env.production @@ -0,0 +1,12 @@ +VITE_MODE=production +# 默认接口地址 +VITE_APP_BASE_URL=https://url.bxreplace.com/url.txt +# 是否连接外服socket +VITE_SOCKET_CERT=true +# 是否开启调试模式 +VITE_OPEN_CONSOLE=true + +VITE_PUBLIC_PATH='/' + +VITE_APP_BASE_IMG="https://cdn.18n.com" + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..60153a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md new file mode 100644 index 0000000..5dddc51 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# Vue 3 + TypeScript + Vite + +This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` --> + + + + + + + + +
+ + + + + + + + +