playground: move pages under /components to match docs

This commit is contained in:
Benjamin Canac
2024-07-09 17:08:16 +02:00
parent eeec9676cd
commit 9d0db51ccc
41 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ const playground = ({ name, pro }) => {
const kebabName = kebabCase(name)
return {
filename: `playground/pages/${kebabName}.vue`,
filename: `playground/pages/components/${kebabName}.vue`,
contents: pro
? undefined
: `

View File

@@ -46,7 +46,7 @@ const components = [
'tooltip'
]
const items = components.map(component => ({ label: upperName(component), to: `/${component}` }))
const items = components.map(component => ({ label: upperName(component), to: `/components/${component}` }))
function upperName(name: string) {
return splitByCase(name).map(p => upperFirst(p)).join('')