⚠️ This repository is now archived, in favour of an upcoming Nuxt module called Deku.
Nuxt 3, Storybook (Vite), Vitest, Pico CSS starter layer.
Check out the Nuxt 3 documentation to learn more about Nuxt Layers.
- 🎨 Pico.css minimal CSS framework
- 📚 Storybook
- 🏗️ 4 Starter components (
c-grid
,c-section
,c-markup
,c-button
), with stories and unit tests - 💚 Vite-friendly
- 😎 BYO everything else!
- ✨
pnpm
by default
Install the package and its dependecy
pnpm add @picocss/pico
Extend the package in your Nuxt config with the extends
keyword.
// nuxt.config.ts
export default defineNuxtConfig({
extends: 'github:miclgael/chia'
})
You now have access to tested components and a very simple pre-configured Nuxt theme.
Make sure to install the dependencies:
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
pnpm run dev
Early days for Nuxt 3, so please make sure the application builds before pushing:
pnpm run build
Locally preview production build:
pnpm run preview
Checkout the deployment documentation for more information.
To work on components in isolation using Storybook:
pnpm run storybook
Run tests with Vitest and Vue test utils
pnpm run test
That's it!