varlet
varlet
A Material design mobile component library developed based on Vue3
Varlet Nuxt
🌟 Inspired by vant-nuxt and element-plus-nuxt
Welcome to contribute this repo
Varlet Module for Nuxt3
Future
- Make up the Lazy Option
- Component Demo for Playground
- Template for Nuxt3
- Supports the directive
Quick Setup
- Add
@varlet/nuxt
dependency to your project
# Using pnpm
pnpm add -D @varlet/ui
pnpm add -D @varlet/nuxt
# Using yarn
yarn add --dev @varlet/ui
yarn add --dev @varlet/nuxt
# Using npm
npm install --save-dev @varlet/ui
npm install --save-dev @varlet/nuxt
- Add
@varlet/nuxt
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@varlet/nuxt'
],
varlet: {
...
}
})
That's it! You can now use Varlet Module in your Nuxt app ✨
Contribution
We recommend using pnpm
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
# Run ESLint
pnpm run lint
# Release new version
pnpm run release