Adjust name from "data-lucide-name" to "data-lucide" in documentation & vitepress config adjusted (#1551)

* adjusted name

* adjusted vitepress config and README file

* use glob pattern

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
Jan
2023-09-04 16:02:34 +02:00
committed by GitHub
parent 376568239f
commit a44328d8be
3 changed files with 2 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ export default defineConfig({
description,
cleanUrls: true,
outDir: '.vercel/output/static',
srcExclude: ['**/README.md'],
vite: {
resolve: {
alias: [

View File

@@ -24,7 +24,7 @@ const getIconCodes = (): CodeExampleType => {
codes: [
{
language: 'html',
code: `<i data-lucide-name="Name"></i>
code: `<i data-lucide="Name"></i>
`,
},
],

View File

@@ -3,8 +3,6 @@
The Lucide docs website is built with Vitepress: https://vitepress.dev/
This is Markdown-based documentation powered by Vue.
This is why this file is in txt format.
## Development
```sh