From 8c0668d0d3e1324322c2afc2b663e7cf04983868 Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 8 Oct 2018 17:28:25 +0800 Subject: [PATCH] feature: add pathToRegexp to compile path --- package.json | 1 + src/components/Breadcrumb/index.vue | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6375852..188b9c6 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "node-sass": "^4.7.2", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", + "path-to-regexp": "2.4.0", "portfinder": "1.0.16", "postcss-import": "12.0.0", "postcss-loader": "2.1.6", diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 11ce3a5..6ca6291 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -10,6 +10,8 @@