diff --git a/Yi.Bbs.Vue3/.env b/Yi.Bbs.Vue3/.env new file mode 100644 index 00000000..e69de29b diff --git a/Yi.Bbs.Vue3/.env.development b/Yi.Bbs.Vue3/.env.development new file mode 100644 index 00000000..9ea2ef99 --- /dev/null +++ b/Yi.Bbs.Vue3/.env.development @@ -0,0 +1,4 @@ +# 接口前缀 +VITE_APP_BASEAPI="/api-dev" +VITE_APP_URL="http://localhost:19001/api/app" +VITE_APP_ENV_NAME = "dev" \ No newline at end of file diff --git a/Yi.Bbs.Vue3/.env.production b/Yi.Bbs.Vue3/.env.production new file mode 100644 index 00000000..d14259d7 --- /dev/null +++ b/Yi.Bbs.Vue3/.env.production @@ -0,0 +1,4 @@ +# 接口前缀 +VITE_APP_BASEAPI="/prod-api" + +VITE_APP_ENV_NAME = "production" \ No newline at end of file diff --git a/Yi.Bbs.Vue3/.gitignore b/Yi.Bbs.Vue3/.gitignore new file mode 100644 index 00000000..38adffa6 --- /dev/null +++ b/Yi.Bbs.Vue3/.gitignore @@ -0,0 +1,28 @@ +# 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 +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/Yi.Bbs.Vue3/.vscode/extensions.json b/Yi.Bbs.Vue3/.vscode/extensions.json new file mode 100644 index 00000000..c0a6e5a4 --- /dev/null +++ b/Yi.Bbs.Vue3/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] +} diff --git a/Yi.Bbs.Vue3/README.md b/Yi.Bbs.Vue3/README.md new file mode 100644 index 00000000..391c148b --- /dev/null +++ b/Yi.Bbs.Vue3/README.md @@ -0,0 +1,29 @@ +# yi-bbs + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). + +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +npm install +``` + +### Compile and Hot-Reload for Development + +```sh +npm run dev +``` + +### Compile and Minify for Production + +```sh +npm run build +``` diff --git a/Yi.Bbs.Vue3/index.html b/Yi.Bbs.Vue3/index.html new file mode 100644 index 00000000..4d501b99 --- /dev/null +++ b/Yi.Bbs.Vue3/index.html @@ -0,0 +1,14 @@ + + +
+ + + + +| 😊 | +😊 | +😊 | +
| 😊 | +😊 | +😊 | +
| 😊 | +😊 | +😊 | +
{{` ${i+1}: ${getUrl(item)}` }}
+
+
+
+
+
+
+
+