A Vue.js-based frontend application for DAX LLM interactions.
- Node.js (Latest LTS version recommended)
- npm
npm installnpm run devThis will start the development server at http://127.0.0.1:5173
npm run buildnpm run previewsrc/: Main source code directoryassets/: Static assets including sample PBIT file (contoso.pbit)components/: Vue components with core application logiccomposables/: Utility functions for API calls (streaming and standard), local caching, and PBIT parsingviews/: Full page components used in routingrouter/: Vue Router configurationtypes/: TypeScript type definitionsdevlogger/: Development logging utilities
- Built with Vue 3 + TypeScript
- Tailwind CSS for styling
- Markdown rendering with syntax highlighting
- File upload handling for PBIT files
- Streaming API integration
- Local caching support
- Basic Content Security Policy (CSP) implemented in index.html
- No authentication implemented (sample app only)
- Note: Implement proper authentication for production use
- Vue 3 with Composition API
- TypeScript for type safety
- Vite for fast development experience
- ESLint for code quality
- Tailwind CSS for styling
A sample PBIT file (contoso.pbit) is provided in src/assets/ for testing file upload functionality.
- This is a sample application and should be enhanced with proper authentication and security measures for production use
- The CSP in index.html can be further restricted based on specific requirements