mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
Cleanup
This commit is contained in:
@@ -5,9 +5,6 @@ const props = defineProps<{
|
||||
groupName: string,
|
||||
}>()
|
||||
|
||||
console.log(props.groups);
|
||||
|
||||
|
||||
const getSaveIdname = (name: string) => {
|
||||
return name.toLowerCase().replace(/\s/g, '-')
|
||||
}
|
||||
@@ -20,8 +17,6 @@ const tabs = computed(() => props.groups?.map((group) => {
|
||||
}))
|
||||
|
||||
const saveTabId = (id: string) => {
|
||||
console.log(id);
|
||||
|
||||
localStorage.setItem(props.groupName, id)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,18 +1,10 @@
|
||||
<script setup>
|
||||
import { onMounted } from 'vue'
|
||||
import { useData } from 'vitepress'
|
||||
|
||||
import { useSidebar } from 'vitepress/dist/client/theme-default/composables/sidebar.js'
|
||||
import CategoryList from '../../components/CategoryList.vue'
|
||||
import IconCustomizer from '../../components/IconCustomizer.vue'
|
||||
|
||||
const { frontmatter, page } = useData()
|
||||
const { isOpen, isSidebarEnabled } = useSidebar()
|
||||
|
||||
onMounted(() => {
|
||||
console.log('Data',frontmatter)
|
||||
})
|
||||
|
||||
const { page } = useData()
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { getAllData } from '../.vitepress/lib/icons'
|
||||
|
||||
import createCodeExamples from "../.vitepress/lib/createCodeExamples";
|
||||
|
||||
export default {
|
||||
async load() {
|
||||
const result = await createCodeExamples('activity')
|
||||
|
||||
console.log(result);
|
||||
|
||||
return {
|
||||
test: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,15 +6,11 @@ sidebar: true
|
||||
---
|
||||
|
||||
<script setup>
|
||||
import { onMounted } from 'vue'
|
||||
import { data } from './index.data.ts'
|
||||
import IconsOverview from '../.vitepress/components/IconsOverview.vue'
|
||||
import PageContainer from '../.vitepress/components/PageContainer.vue'
|
||||
|
||||
const { categories, icons } = data
|
||||
onMounted(() => {
|
||||
console.log(data)
|
||||
})
|
||||
</script>
|
||||
|
||||
<PageContainer>
|
||||
|
||||
Reference in New Issue
Block a user