Skip to content

Examples ​

Explore interactive examples for each directive.

Online Demo ​

Try Directix online with StackBlitz:

DemoLink
Vue 3Open in StackBlitz
Vue 2Open in StackBlitz

Directive Examples ​

Event Directives ​

Form Directives ​

  • Copy - Copy text to clipboard
  • Focus - Auto focus elements

Visibility Directives ​

Security Directives ​

Local Development ​

Clone the repository and run the examples locally:

bash
# Clone the repository
git clone https://github.com/saqqdy/directix.git
cd directix

# Install dependencies
pnpm install

# Run Vue 3 examples
pnpm example:dev

# Or run Vue 2 examples
cd examples/vue2
pnpm install
pnpm dev

Released under the MIT License.