diff --git a/.env.development b/.env.development
new file mode 100644
index 0000000..8ec9e33
--- /dev/null
+++ b/.env.development
@@ -0,0 +1 @@
+VUE_APP_BASE_API = "http://www.exapmple.com/dev"
\ No newline at end of file
diff --git a/.env.production b/.env.production
new file mode 100644
index 0000000..f1d9540
--- /dev/null
+++ b/.env.production
@@ -0,0 +1 @@
+VUE_APP_BASE_API = "http://www.exapmple.com/prod"
\ No newline at end of file
diff --git a/README.md b/README.md
index dd13b3b..6033171 100644
--- a/README.md
+++ b/README.md
@@ -2,5 +2,5 @@
### 基于Vue和Express的全栈博客系统。
-- [ ] 基础的博客前端搭建
+- [x] 基础的博客前端搭建
- [ ] 基础的后端增删改查
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 20563da..ca43de3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1936,6 +1936,11 @@
"integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=",
"dev": true
},
+ "animejs": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npm.taobao.org/animejs/download/animejs-3.2.0.tgz",
+ "integrity": "sha1-La6nNlmDJJAizEVPpyas20qENF0="
+ },
"ansi-colors": {
"version": "3.2.4",
"resolved": "https://registry.npm.taobao.org/ansi-colors/download/ansi-colors-3.2.4.tgz",
@@ -2196,6 +2201,37 @@
"integrity": "sha1-oXs6jqgRBg501H0wYSJACtRJeuI=",
"dev": true
},
+ "axios": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz",
+ "integrity": "sha1-PqNsXYgY0NX4qKl6bTa4bNwAyyc=",
+ "requires": {
+ "follow-redirects": "1.5.10"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz",
+ "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "follow-redirects": {
+ "version": "1.5.10",
+ "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.5.10.tgz?cache=0&sync_timestamp=1585479417937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.5.10.tgz",
+ "integrity": "sha1-e3qfmuov3/NnhqlP9kPtB/T/Xio=",
+ "requires": {
+ "debug": "=3.1.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
"babel-eslint": {
"version": "10.1.0",
"resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz?cache=0&sync_timestamp=1582676223200&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-eslint%2Fdownload%2Fbabel-eslint-10.1.0.tgz",
@@ -8464,6 +8500,16 @@
}
}
},
+ "postcss-px-to-viewport": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npm.taobao.org/postcss-px-to-viewport/download/postcss-px-to-viewport-1.1.1.tgz",
+ "integrity": "sha1-olykELVTyYksyLUlzHENpHvxqlU=",
+ "dev": true,
+ "requires": {
+ "object-assign": ">=4.0.1",
+ "postcss": ">=5.0.2"
+ }
+ },
"postcss-reduce-initial": {
"version": "4.0.3",
"resolved": "https://registry.npm.taobao.org/postcss-reduce-initial/download/postcss-reduce-initial-4.0.3.tgz",
diff --git a/package.json b/package.json
index 4e1f2ad..0f1a5a0 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,8 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
+ "animejs": "^3.2.0",
+ "axios": "^0.19.2",
"core-js": "^3.6.5",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
@@ -24,6 +26,7 @@
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^6.2.2",
+ "postcss-px-to-viewport": "^1.1.1",
"prettier": "^1.19.1",
"vue-template-compiler": "^2.6.11"
}
diff --git a/public/index.html b/public/index.html
index 4123528..a79e32e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,9 +3,9 @@
-
+
- <%= htmlWebpackPlugin.options.title %>
+ YuJian-Blog