xiaoxian521
2 years ago
34 changed files with 2022 additions and 1262 deletions
-
21.dockerignore
-
2.env.staging
-
10.vscode/vue3.0.code-snippets
-
6.vscode/vue3.2.code-snippets
-
20.vscode/vue3.3.code-snippets
-
20Dockerfile
-
29README.en-US.md
-
41README.md
-
71package.json
-
2638pnpm-lock.yaml
-
2public/serverConfig.json
-
BINsrc/assets/user.jpg
-
27src/components/ReDialog/index.ts
-
57src/components/ReDialog/index.vue
-
4src/components/ReDialog/type.ts
-
7src/components/RePureTableBar/src/bar.tsx
-
6src/layout/components/navbar.vue
-
3src/layout/components/notice/index.vue
-
32src/layout/components/search/components/SearchFooter.vue
-
42src/layout/components/search/components/SearchModal.vue
-
36src/layout/components/search/components/SearchResult.vue
-
1src/layout/components/setting/index.vue
-
6src/layout/components/sidebar/horizontal.vue
-
5src/layout/components/sidebar/logo.vue
-
6src/layout/components/sidebar/mixNav.vue
-
2src/layout/components/tag/index.vue
-
4src/layout/hooks/useNav.ts
-
21src/layout/index.vue
-
31src/router/index.ts
-
35src/style/dark.scss
-
38src/style/element-plus.scss
-
6src/utils/http/index.ts
-
3tsconfig.json
-
4types/index.d.ts
@ -0,0 +1,21 @@ |
|||||
|
node_modules |
||||
|
.DS_Store |
||||
|
dist |
||||
|
dist-ssr |
||||
|
*.local |
||||
|
.eslintcache |
||||
|
report.html |
||||
|
|
||||
|
yarn.lock |
||||
|
npm-debug.log* |
||||
|
.pnpm-error.log* |
||||
|
.pnpm-debug.log |
||||
|
tests/**/coverage/ |
||||
|
|
||||
|
# Editor directories and files |
||||
|
.idea |
||||
|
*.suo |
||||
|
*.ntvs* |
||||
|
*.njsproj |
||||
|
*.sln |
||||
|
tsconfig.tsbuildinfo |
@ -0,0 +1,20 @@ |
|||||
|
{ |
||||
|
"Vue3.3+defineOptions快速生成模板": { |
||||
|
"scope": "vue", |
||||
|
"prefix": "Vue3.3+", |
||||
|
"body": [ |
||||
|
"<script setup lang='ts'>", |
||||
|
"defineOptions({", |
||||
|
"\tname: ''", |
||||
|
"})", |
||||
|
"</script>\n", |
||||
|
"<template>", |
||||
|
"\t<div>test</div>", |
||||
|
"</template>\n", |
||||
|
"<style lang='scss' scoped>\n", |
||||
|
"</style>", |
||||
|
"$2" |
||||
|
], |
||||
|
"description": "Vue3.3+defineOptions快速生成模板" |
||||
|
} |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
FROM node:16-alpine as build-stage |
||||
|
|
||||
|
WORKDIR /app |
||||
|
RUN corepack enable |
||||
|
RUN corepack prepare pnpm@7.32.1 --activate |
||||
|
|
||||
|
RUN npm config set registry https://registry.npmmirror.com |
||||
|
|
||||
|
COPY .npmrc package.json pnpm-lock.yaml ./ |
||||
|
RUN pnpm install --frozen-lockfile |
||||
|
|
||||
|
COPY . . |
||||
|
RUN pnpm build |
||||
|
|
||||
|
FROM nginx:stable-alpine as production-stage |
||||
|
|
||||
|
COPY --from=build-stage /app/dist /usr/share/nginx/html |
||||
|
EXPOSE 80 |
||||
|
|
||||
|
CMD ["nginx", "-g", "daemon off;"] |
2638
pnpm-lock.yaml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue