portui
A framework for Vue 3 component library based on Vite4+TypeScript
portui is a development environment framework for a Vue3 component library, utilizing the latest Vite4+TypeScript
tech stack. It supports features such as on-demand loading
, unit testing
, automatic bundling and publishing
, allowing us to focus more on the development of business components.
If you want to learn more about how to set up the framework, you can click Building a Vue 3 Component Library from Scratch to view the complete tutorial.
- Install pnpm
npm install pnpm -g
- Install Dependencies
pnpm install
- Packaging component libraries and utility libraries
pnpm run build:portui
- Start the test project
pnpm run portui:dev
- Start the static documentation site
pnpm run docs:dev