demoup-test
Advanced tools
Comparing version 0.2.1 to 0.2.4
@@ -30,3 +30,3 @@ import React from "react"; | ||
title: exportValue.title || exportName, | ||
path: paths[i].slice(1).replace(/\.demoup\.tsx$/, "") + "/" + exportName, | ||
path: encodeURI(paths[i].slice(1).replace(/\.demo\.tsx$/, "") + "/" + exportName), | ||
Component: exportValue.title ? exportValue.component : exportValue, | ||
@@ -33,0 +33,0 @@ }); |
{ | ||
"name": "demoup-test", | ||
"version": "0.2.1", | ||
"version": "0.2.4", | ||
"description": "Create react component demo app with vite in a simple step.", | ||
@@ -28,3 +28,3 @@ "type": "module", | ||
"react": ">=17", | ||
"react-router": ">=6" | ||
"react-router-dom": ">=6" | ||
}, | ||
@@ -31,0 +31,0 @@ "dependencies": { |
7322