Skip to content

Installation

Environment Requirements

  • Node.js >= 16.x
  • Vue >= 3.x
  • Element Plus >= 2.x

Using Package Managers

We recommend using a package manager (such as npm, yarn, or pnpm) to install directives-expand.

bash
npm install directives-expand
bash
yarn add directives-expand
bash
pnpm add directives-expand

Install Vue3

directives-expand is built based on Vue3, so you need to install Vue3 first:

bash
npm install vue
bash
yarn add vue
bash
pnpm add vue

Build from Source

If you want to build directives-expand from source:

bash
# Clone the repository
git clone https://github.com/jiayc4215/directives-expand.git

# Enter project directory
cd directives-expand

# Install dependencies
pnpm install

# Build project
pnpm build

After construction is complete, the artifacts will be output to the dist directory.

Development Environment

If you want to participate in the development of directives-expand:

bash
# Install dependencies
pnpm install

# Start documentation server
pnpm docs:dev

Next Steps

After installation, please check Quick Start to learn how to use directives-expand in your project.