hh-base-js-library
v0.0.1
Published
A demo Vue 3 component library for npm.
Downloads
2
Readme
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.
vue3-npm-demo
A demo Vue 3 component library for npm, built with Vite and TypeScript.
安装
npm install vue3-npm-demo使用示例
<script setup lang="ts">
import { HelloWorld } from 'vue3-npm-demo'
</script>
<template>
<HelloWorld msg="Hello from npm package!" />
</template>本地开发
npm run dev构建发布
npm run build