Skip to content

Vue+Vite+Eslint-Typescript+Unocss template starter

Notifications You must be signed in to change notification settings

lizyChy0329/starter

Repository files navigation

Vue Library Starter

NPM Minzip Package NPM Download

A minimal Vue library starter, built on top of Vite & Vue 3

Table of Contents

TOC

Features

Use the Template

GitHub Template

create a repo from this template on GitHub

Clone to local

git clone https://github.com/xiaoluoboding/vue-library-starter

cd vue-library-starter

Usage

Building it is as easy as 1, 2, 3.

1、Install dependencies

pnpm install

2、Build a library

Rename all the vue-library-starter to your component name in the file package.json、vite.config.ts, eg: my-component

pnpm run build:lib

3、Publish to npm

npm publish

License

MIT @xiaoluoboding

Change

  • remove sass devDependencies - Support Top-level await in script setup

  • Add @antfu/eslint-config

  • Fix vue module type error

  • Fix @vue/tsconfig type error

  • Replace highlight.js with shiki

  • Replace inline-css with vite-plugin-libcss

  • Remove prettier config files

About

Vue+Vite+Eslint-Typescript+Unocss template starter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published