Skip to content

Commit

Permalink
Merge branch 'goplus:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-jj committed Jan 25, 2024
2 parents c54c63f + 51ff295 commit be86177
Show file tree
Hide file tree
Showing 51 changed files with 148,887 additions and 18 deletions.
24 changes: 24 additions & 0 deletions cmd/gopcomm/yap/community-frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions cmd/gopcomm/yap/community-frontend/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
}
7 changes: 7 additions & 0 deletions cmd/gopcomm/yap/community-frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended IDE Setup

- [VS Code](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).
13 changes: 13 additions & 0 deletions cmd/gopcomm/yap/community-frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/x-icon" href="" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Go+ Community</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
12 changes: 12 additions & 0 deletions cmd/gopcomm/yap/community-frontend/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"CompilerOptions": {
// 解析非相对模块的基础地址,默认是当前目录
"baseUrl": "./",
// 路径映射,相对于baseUrl
"paths": {
"@/*": [
"./src/*"
]
},
}
}
Loading

0 comments on commit be86177

Please sign in to comment.