diff --git a/deploy.sh b/deploy.sh index 41dc842c..884725ac 100755 --- a/deploy.sh +++ b/deploy.sh @@ -16,7 +16,7 @@ cp -r dist /tmp/ cd /tmp/dist # 404 跳转 -echo "" > 404.html +echo "" > 404.html # 部署到自定义域域名 # echo 'www.example.com' > CNAME diff --git a/package.json b/package.json index f1385e7d..e07985c5 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,10 @@ "vue": "^2.6.11", "vue-router": "^3.3.4", "vue-unique-id": "^3.1.0", - "vuex": "^3.5.1" + "vuex": "^3.5.1", + "vue-katex": "^0.4.0", + "katex": "^0.11.1", + "vue-template-compiler": "^2.6.11" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.4.0", @@ -30,12 +33,9 @@ "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^6.2.2", - "katex": "^0.11.1", "stylelint": "^13.6.1", "stylelint-config-standard": "^20.0.0", - "stylelint-scss": "^3.18.0", - "vue-katex": "^0.4.0", - "vue-template-compiler": "^2.6.11" + "stylelint-scss": "^3.18.0" }, "eslintConfig": { "root": true, diff --git a/src/App.vue b/src/App.vue index 2f10f51f..681f1abc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,8 +15,8 @@ diff --git a/src/components/problem/editTag.vue b/src/components/problem/EditTag.vue similarity index 82% rename from src/components/problem/editTag.vue rename to src/components/problem/EditTag.vue index 788ab1fe..91372bda 100644 --- a/src/components/problem/editTag.vue +++ b/src/components/problem/EditTag.vue @@ -20,7 +20,7 @@