Giter VIP home page Giter VIP logo

chia's Introduction

Chia - Nuxt 3 Layer

⚠️ This repository is now archived, in favour of an upcoming Nuxt module called Deku.

Terrible chia seed iconography

Check out the Nuxt 3 documentation to learn more about Nuxt Layers.

Features

  • 🎨 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

Usage @TODO: This part of the docs incomplete.

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.

Screenshots

Screenshot of Storybook interface

Contributing

Make sure to install the dependencies:

pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

pnpm run dev

Production

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.

Storybook

To work on components in isolation using Storybook:

pnpm run storybook

Testing

Run tests with Vitest and Vue test utils

pnpm run test

That's it!

chia's People

Contributors

miclgael avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.