Skip to content

Commit 78af269

Browse files
authored
Merge branch 'nihaojob:main' into main
2 parents c96deeb + 9761788 commit 78af269

File tree

162 files changed

+13610
-3127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+13610
-3127
lines changed

.dockerignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# path: ./.dockerignore
2+
3+
.DS_Store
4+
node_modules
5+
dist
6+
.npmrc
7+
yarn.lock
8+
pnpm-lock.yaml
9+
package-lock.json

.env

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
APP_TITLE=设计编辑器-vue-fabric-editor
2-
APP_REPO=https://nihaojob.github.io/vue-fabric-editor-static/
1+
APP_TITLE=快图设计-开源图片编辑器-vue-fabric-editor
2+
APP_BASE_PATH=/vue-fabric-editor/
3+
APP_APIHOST=https://www.kuaitu.cc
4+
APP_ADMINAPIHOST=https://www.kuaitu.cc/admin

.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
APP_FLAG=dev
2-
APP_FONT_CSS_FILE=free-font-local.css
2+
# APP_APIHOST=http://localhost:1337

.env.production

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
APP_FLAG=prod
2-
APP_FONT_CSS_FILE=free-font.css
1+
APP_FLAG=prod

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
node_modules
33
dist
4+
typings/auto-imports.d.ts
45

56
# local env files
67
.env.local
@@ -25,3 +26,5 @@ pnpm-debug.log*
2526
yarn.lock
2627
pnpm-lock.yaml
2728
package-lock.json
29+
typings/auto-imports.d.ts
30+
.eslintrc-auto-import.json

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
"i18n-ally.localesPaths": [
1111
"src/language"
1212
],
13-
"i18n-ally.sourceLanguage": "zh" // 需要Prettier的配置文件
13+
"i18n-ally.sourceLanguage": "zh",
14+
"i18n-ally.keystyle": "nested" // 需要Prettier的配置文件
1415
}

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM node:18-alpine3.18 as build
2+
3+
WORKDIR /app
4+
COPY . .
5+
6+
RUN npm install -g pnpm --registry=https://registry.npmmirror.com
7+
RUN pnpm config set registry https://registry.npmmirror.com
8+
RUN pnpm install
9+
10+
RUN ["pnpm", "build"]
11+
12+
FROM nginx:1.25.3
13+
COPY --from=0 /app/dist /usr/share/nginx/html/
14+
COPY nginx.conf /etc/nginx/conf.d/
15+

0 commit comments

Comments
 (0)