{"_id":"@dealenx/vitepress-tailwind","_rev":"2-d2e47341fd9ca0defe43bcdad0de0d68","name":"@dealenx/vitepress-tailwind","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.2":{"name":"@dealenx/vitepress-tailwind","version":"0.1.2","keywords":["vitepress","tailwindcss","template","starter"],"author":{"name":"dealenx"},"license":"MIT","_id":"@dealenx/vitepress-tailwind@0.1.2","maintainers":[{"name":"dealenx","email":"dealenx@gmail.com"}],"bin":{"vitepress-tailwind":"bin\\create-vitepress-tailwind.js"},"dist":{"shasum":"ea5e87c50086caf6866835259f95b6baccd8c7b5","tarball":"https://registry.npmjs.org/@dealenx/vitepress-tailwind/-/vitepress-tailwind-0.1.2.tgz","fileCount":17,"integrity":"sha512-VTMKtcAJfh5vrIS/5w0WKI98wdEwJwIGwANQIcnHg1o7wbQ3/wCu486I976RpsrBI9H126k1FRf9MqZpX3Q/ag==","signatures":[{"sig":"MEQCIBeOwdJYNE0dpvvXGAHaK88vg+g6ueqfHQyThpioXY6XAiAG/aPlMUFjpZcByNOHt1nf1OQkLi7VTXQCpFOlG+6WEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32890},"pnpm":{"peerDependencyRules":{"ignoreMissing":["@algolia/client-search"]}},"type":"module","private":false,"scripts":{"dev":"vitepress dev","build":"vitepress build","serve":"vitepress serve"},"_npmUser":{"name":"dealenx","email":"dealenx@gmail.com"},"repository":{"url":"git+https://github.com/dealenx/vitepress-tailwind.git","type":"git"},"description":"VitePress template with Tailwind CSS integration","directories":{},"dependencies":{"@tailwindcss/postcss":"^4.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.3.4","vitepress":"^1.6.3","tailwindcss":"^4.1.3","@tailwindcss/vite":"^4.1.3"},"_npmOperationalInternal":{"tmp":"tmp/vitepress-tailwind_0.1.2_1744402474943_0.8390818390481214","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@dealenx/vitepress-tailwind","private":false,"version":"0.1.4","description":"VitePress template with Tailwind CSS integration","type":"module","bin":{"vitepress-tailwind":"bin\\create-vitepress-tailwind.js"},"scripts":{"dev":"vitepress dev","build":"vitepress build","serve":"vitepress serve"},"devDependencies":{"@tailwindcss/vite":"^4.1.3","tailwindcss":"^4.1.3","vitepress":"^1.6.3","vue":"^3.3.4"},"pnpm":{"peerDependencyRules":{"ignoreMissing":["@algolia/client-search"]}},"dependencies":{"@tailwindcss/postcss":"^4.1.3"},"keywords":["vitepress","tailwindcss","template","starter"],"author":{"name":"dealenx"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dealenx/vitepress-tailwind.git"},"_id":"@dealenx/vitepress-tailwind@0.1.4","dist":{"shasum":"93db9d863c44e4b126e11471b5cba886f9cd47a8","integrity":"sha512-mxJsQIxgYe1dBOWSku0A33owOVmHYxY8OtjX0wQ/nMN9bWXgPTK6EgqFUYF8jq6hSBRKZMxxpPZOPMRsvd86gw==","tarball":"https://registry.npmjs.org/@dealenx/vitepress-tailwind/-/vitepress-tailwind-0.1.4.tgz","fileCount":18,"unpackedSize":22927,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC5CPP40MXsI6Oqg8wmoQE0IdFXXUJKpTvJboN5BlOYHAIgFhEVv+epJ3Bh/kdpPrCw/R7jNk3z+6YJDr5+au2hHsI="}]},"_npmUser":{"name":"dealenx","email":"dealenx@gmail.com"},"directories":{},"maintainers":[{"name":"dealenx","email":"dealenx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vitepress-tailwind_0.1.4_1744409460431_0.079809711409637"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-11T20:14:34.860Z","modified":"2025-04-11T22:11:00.806Z","0.1.2":"2025-04-11T20:14:35.144Z","0.1.4":"2025-04-11T22:11:00.627Z"},"author":{"name":"dealenx"},"license":"MIT","keywords":["vitepress","tailwindcss","template","starter"],"repository":{"type":"git","url":"git+https://github.com/dealenx/vitepress-tailwind.git"},"description":"VitePress template with Tailwind CSS integration","maintainers":[{"name":"dealenx","email":"dealenx@gmail.com"}],"readme":"# VitePress + Tailwind CSS Starter\n\nA template for quickly starting a project with [VitePress](https://vitepress.dev/) and [Tailwind CSS v4](https://tailwindcss.com/).\n\n## Features\n\n- 🚀 Tailwind CSS v4 integration\n- ⚡️ Optimized VitePress configuration\n- 🧩 Ready-to-use project structure\n- 🖌️ Responsive design out of the box\n\n## Usage\n\n### Creating a new project\n\n```bash\n# Using npx\nnpx @dealenx/vitepress-tailwind my-docs\n\n# Or with the init command\nnpx @dealenx/vitepress-tailwind init my-docs\n```\n\n### Running the project\n\n```bash\ncd my-docs\nnpm install\nnpm run docs:dev\n```\n\n## Development\n\nFor local development and testing of the template:\n\n```bash\ngit clone https://github.com/dealenx/vitepress-tailwind.git\ncd vitepress-tailwind\nyarn install\nyarn run dev\n```\n\n\n### Using Tailwind in Markdown\n\nYou can use Tailwind CSS classes directly in your Markdown content with the `:::raw` directive:\n\n```md\n:::raw\n<div class=\"overflow-hidden\">\n    <div class=\"max-w-[85rem] mx-auto px-4 sm:px-6 lg:px-8 py-20\">\n        <div class=\"relative mx-auto max-w-4xl grid space-y-5 sm:space-y-10\">\n            <!-- Title -->\n            <div class=\"text-center\">\n                <p class=\"text-xs font-semibold text-gray-500 uppercase mb-3\">\n                    Hello, Friend!\n                </p>\n                <h1 class=\"text-3xl text-gray-800 font-bold sm:text-5xl lg:text-6xl lg:leading-tight\">\n                    Your are looking at <span class=\"text-blue-500\">Tailwind Content</span>\n                </h1>\n            </div>\n        </div>\n    </div>\n</div>\n:::\n```\n\nThis approach allows you to create complex and responsive layouts directly in your Markdown files, using the full power of Tailwind CSS.\n\n### Importing External Components\n\nYou can also import and use external components through the `:::raw` directive, which is **especially important** for proper rendering:\n\n```md\n<script setup>\nimport Sigma from './.vitepress/theme/components/Sigma.vue'\n</script>\n\n:::raw\n<Sigma />\n:::\n```\n\nThe `:::raw` directive allows the component to be displayed without special processing by VitePress. **This is a key feature** for correctly displaying Vue components within Markdown, as it prevents the component's HTML markup from being converted to plain text.\n\n","readmeFilename":"README.md"}