diff --git a/src/router/modules/demo.ts b/src/router/modules/demo.ts index 09e2769..22b9e6d 100644 --- a/src/router/modules/demo.ts +++ b/src/router/modules/demo.ts @@ -45,7 +45,7 @@ const components = { ...firstLevelComponents, ...secondLevelComponents }; const demoRoutes = Object.keys(components).map((path) => { const isHasIndex = path.includes('/index.vue'); let cptPath = path.replace(route.FILE_NAME_PREFIX, ''); - cptPath = isHasIndex ? cptPath.replace('/index.vue', '') : path.replace('.vue', ''); + cptPath = isHasIndex ? cptPath.replace('/index.vue', '') : cptPath.replace('.vue', ''); return { path: cptPath, name: route.convertPathToName(cptPath), diff --git a/src/views/demo/stepStyle.vue b/src/views/demo/stepStyle.vue new file mode 100644 index 0000000..2c08f6a --- /dev/null +++ b/src/views/demo/stepStyle.vue @@ -0,0 +1,84 @@ + + + + + diff --git a/src/views/demo/textAlign.vue b/src/views/demo/textAlign.vue new file mode 100644 index 0000000..577689d --- /dev/null +++ b/src/views/demo/textAlign.vue @@ -0,0 +1,62 @@ + + + + +