diff --git a/package.json b/package.json
index cd449de339fb76a2dd80ed81548d06e741a9c936..5b73ba5cab04d7e192e0b1cdbf12682a1e0e3d8c 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"core-js": "^3.8.3",
"echarts": "^5.5.0",
"element-ui": "^2.15.14",
+ "less-loader": "5.0.0",
"vue": "^2.6.14",
"vue-router": "3"
},
diff --git a/src/components/ganttchart/index.vue b/src/components/ganttchart/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..5cdeb3b5058bf9f158df3b0bffe22afb01dd00a4
--- /dev/null
+++ b/src/components/ganttchart/index.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/routes.js b/src/router/routes.js
index eec74ce282fc58256c4cc007de2ffae016684e3d..38ae65291f82bd16f46227d291a3e8ef539b5246 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -27,7 +27,7 @@ export default [
path:'gantt',
name:'Gantt',
meta:{title:'甘特图'},
- component:() => import('@/views/Echarts/GanttChart.vue')
+ component:() => import('@/views/Echarts/GanttChartDemo.vue')
}
]
}
diff --git a/src/views/Echarts/GanttChart.vue b/src/views/Echarts/GanttChartDemo.vue
similarity index 57%
rename from src/views/Echarts/GanttChart.vue
rename to src/views/Echarts/GanttChartDemo.vue
index f7799d4c1e3b6f0c683a78f6a7bc04be4549caa9..e0aecac60a415d7975ccbc1ff43b40725f19753a 100644
--- a/src/views/Echarts/GanttChart.vue
+++ b/src/views/Echarts/GanttChartDemo.vue
@@ -1,11 +1,14 @@
- gantt
+
甘特图测试
+