Prerequisites
Before installing Vue Print It, ensure you have:- Node.js 16.0.0 or higher
- Vue 3.0.0 or higher
Package managers
Choose your preferred package manager to install Vue Print It:Verify installation
After installation, you can verify that Vue Print It was installed correctly by checking yourpackage.json file:
package.json
Framework-specific setup
Depending on your framework, you may need additional configuration.Standard Vue 3 app
For standard Vue 3 applications created with Vite or Vue CLI, no additional setup is required. Proceed to the quickstart guide to register the plugin.Nuxt 3
For Nuxt 3 projects, create a client-side plugin:Create plugin file
Create a new file at
plugins/vue-print-it.client.ts:plugins/vue-print-it.client.ts
The
.client.ts suffix ensures the plugin only runs on the client side, which is necessary for printing functionality.Quasar Framework
For Quasar projects, use a boot file:TypeScript support
Vue Print It includes built-in TypeScript definitions. No additional type packages are required. To use types in your project:Next steps
Quick start
Learn how to use Vue Print It in your components