@varlet/nuxt

varlet module for nuxt
1,739 30
Install
npm install @varlet/nuxt
Latest Version:0.1.5
Vue:3
License:MIT
Last Updated:Jun 14, 2024
Links: GitHub  ·  npm
Maintainer: binbinji

Varlet Nuxt

🌟 Inspired by vant-nuxt and element-plus-nuxt

Welcome to contribute this repo

Varlet Module for Nuxt3

Feature

  • Auto import Varlet component in you Nuxt Project
  • Auto import Varlet the directive
  • Lazy load component
  • Material Design Nuxt Component with Material 3 Version

Quick Setup

  1. Add @varlet/nuxt dependency to your project
npx nuxi@latest module add varlet
  1. Add @varlet/nuxt to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@varlet/nuxt'],
  varlet: {
    modulePath: '...',
    exclude: ['...'],
    icon: {}
  }
})

That's it! You can now use Varlet Module in your Nuxt app ✨

tips: If you running varlet on the PC. Please install @varlet/touch-emulator

Options

fieldName require default effect
modulePath false undefind customer you workspace path if you want
exclude false '.nuxt', 'node_modules' exclude some path that you won't transform
icon false undefined svg icon to iconfont

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

Related Packages

@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
dayjs-nuxt

Day.JS Module for Nuxt

1,986,864 126

Version History

Version Released Vue License
0.1.5 ^3.0 MIT
0.1.4 ^3.0 MIT
0.1.3 ^3.0 MIT
0.1.2 ^3.0 MIT
0.1.1 ^3.0 MIT
Pre-releases (1)
Version Released Vue License
0.1.4-1718250695.6e87eb7 ^3.0 MIT