ui-lib(new-component): added text input component in the c-lib

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-05-14 22:30:23 +02:00
1 parent 401f13f7e3
commit aad8d84e13
14 files changed
+428 -21

No files matched your search

+5
View File
@@ -18,6 +18,8 @@
</div>
<div flex-1 pl-4>
<h1>{{ componentName }}</h1>
<router-view />
</div>
</div>
@@ -25,9 +27,12 @@
</template>
<script lang="ts" setup>
import _ from 'lodash';
import { demoRoutes } from './demo.routes';
const route = useRoute();
const componentName = computed(() => _.startCase(String(route.name).replace(/^c-/, '')));
</script>
<style lang="less" scoped></style>
-2
View File
@@ -6,8 +6,6 @@ export const demoRoutes = Object.keys(demoPages).map((path) => {
const [, , fileName] = path.split('/');
const name = fileName.split('.').shift();
console.log(path);
return {
path: name,
name,