diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9e5551 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM nginx:1.25.3-alpine + +LABEL "authors"="suguo.yao" +LABEL "email"="ysg@myschools.me" + +ENV TZ=Asia/Shanghai \ + LANG=C.UTF-8 \ + APP_DIR=/usr/share/nginx/html + +COPY dist/. ${APP_DIR} + +WORKDIR ${APP_DIR} + +EXPOSE 80 + +RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index f6ae5cd..4b647d2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,6 +10,11 @@ const routes = [ path: '/about', name: 'About', component: ()=> import("../views/about.vue"), + }, + { + path: '/dialog', + name: 'Dialog', + component: ()=> import("../views/dialog.vue"), } ]; diff --git a/src/views/dialog.vue b/src/views/dialog.vue new file mode 100644 index 0000000..708daf0 --- /dev/null +++ b/src/views/dialog.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file