General Troubleshooting Steps
Before diving into specific issues, try these general troubleshooting steps:Clear cache and node_modules
Clear cache and node_modules
Reinstall dependencies
Reinstall dependencies
Update Para-related packages
Update Para-related packages
Rebuild the project
Rebuild the project
Common Issues and Solutions
React Components in Vue
React Components in Vue
Problem: Para SDK is built with React, which requires special configuration to work in Vue applications.Solution: Use a React-in-Vue wrapper library to integrate Para components:
-
Install the necessary packages:
-
Create a wrapper component for Para:
-
Use in your Vue component:
Environment Variables
Environment Variables
Problem: Environment variables not being recognized in your Vue application.Solution: Ensure you’re using the correct prefix based on your build tool:For Vite-based Vue projects:Access in your code:For Vue CLI projects:Access in your code:
CSS Loading Issues
CSS Loading Issues
Problem: Para’s CSS styles not loading correctly.Solution: Import Para’s CSS file in your main entry point:
Build Configuration
Build Configuration
Problem: Build errors due to missing polyfills or module resolution issues.Solution: Configure your build tool appropriately:For Vite:
Best Practices
- Component Isolation: Keep Para components isolated in wrapper components to manage the React-Vue boundary effectively.
- State Management: Consider using a shared state management solution if you need to sync data between Vue and Para components.
- Error Boundaries: Implement error handling to gracefully manage any runtime errors from the React components.
- Performance: Lazy load Para components to reduce initial bundle size and improve application startup time.
Integration Support
If you’re experiencing issues that aren’t resolved by our troubleshooting resources, please contact our team for assistance. To help us resolve your issue quickly, please include the following information in your request:- 1
A detailed description of the problem you’re encountering.
- 2
Any relevant error messages or logs.
- 3
Steps to reproduce the issue.
- 4
Details about your system or environment (e.g., device, operating system, software version).