Vyuh Framework
Build Modular, Scalable, CMS-driven Flutter Apps
Vyuh Developer Tools 🛠️
A powerful developer toolset for Vyuh applications that provides insights into your app's features, content, and plugins. This feature helps developers understand and debug their Vyuh applications more effectively.
Features ✨
-
Feature Explorer 📋
- List all registered features
- View feature details including routes and extensions
- Inspect feature configurations
- Navigate feature hierarchies
-
Content Playground 🎮
- Preview content layouts in real-time
- Test different content types
- Experiment with layout configurations
- Debug content rendering
-
Plugin Inspector 🔍
- View active plugins
- Inspect plugin configurations
- Monitor plugin states
- Debug plugin interactions
-
Route Explorer 🛣️
- List all registered routes
- View route parameters
- Test route navigation
- Debug route configurations
Installation 📦
Add this to your package's pubspec.yaml
file:
dependencies:
vyuh_feature_developer: ^1.0.0
Usage 💡
Basic Setup
Add the developer feature to your Vyuh application:
import 'package:vyuh_core/vyuh_core.dart';
import 'package:vyuh_feature_developer/vyuh_feature_developer.dart' as developer;
void main() {
vyuh.runApp(
features: () => [
developer.feature, // adds the developer tools
// your other features
],
);
}
Accessing Developer Tools
The developer tools can be accessed through:
- The feature list in your app's navigation
- The
/developer
route in your app - The Developer Tools icon in the app bar (if enabled)
Content Playground Usage
// Navigate to the content playground
vyuh.router.push('/developer/playground');
Feature Inspector Usage
// Navigate to feature details
vyuh.router.push('/developer/feature/:name');
Best Practices 🌟
-
Development Only
- Consider disabling the developer tools in production
- Use environment variables to control visibility
-
Performance Monitoring
- Monitor content rendering performance
- Check for unnecessary re-renders
- Profile feature initialization
-
Debugging
- Use the content playground for layout issues
- Check plugin states for integration problems
- Verify route configurations
Contributing 🤝
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Learn More 📚
- Visit docs.vyuh.tech for detailed documentation
- Check out the GitHub repository for source code
- Report issues on the issue tracker
Made with ❤️ by Vyuh
Libraries
- components/items
- components/route_list
- components/standard_plugin_view
- components/sticky_section
- pages/analytics_plugin_detail
- pages/content_extension_detail
- pages/content_plugin_detail
- pages/feature_detail
- pages/playground/content_playground
- pages/playground/widgets/content_list
- pages/playground/widgets/content_list_item
- pages/playground/widgets/feature_item
- pages/playground/widgets/no_preview_card
- pages/playground/widgets/preview
- pages/playground/widgets/preview_panel
- pages/playground/widgets/widgets
- pages/plugin_and_feature_list
- pages/plugin_detail
- pages/telemetry_plugin_detail
- routes
- vyuh_feature_developer