Download web_development/frontend/src/router.js from lucky-loster/quant_test: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/frontend/src/router.js
- Command line
-
hf download hf://lucky-loster/quant_test/web_development/frontend/src/router.js
-
curl -L -o router.js https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/frontend/src/router.js
1.62 kB
| import { createRouter, createWebHistory } from 'vue-router' | |
| const routes = [ | |
| { path: '/', name: 'Dashboard', component: () => import('./views/Dashboard.vue'), meta: { title: '仪表盘', icon: 'Monitor' } }, | |
| { path: '/market', name: 'Market', component: () => import('./views/MarketView.vue'), meta: { title: '行情中心', icon: 'TrendCharts' } }, | |
| { path: '/trading', name: 'Trading', component: () => import('./views/TradingView.vue'), meta: { title: '交易下单', icon: 'Sell' } }, | |
| { path: '/strategies', name: 'Strategies', component: () => import('./views/StrategiesView.vue'), meta: { title: '量化策略', icon: 'DataAnalysis' } }, | |
| { path: '/positions', name: 'Positions', component: () => import('./views/PositionsView.vue'), meta: { title: '持仓管理', icon: 'Wallet' } }, | |
| { path: '/opportunities', name: 'Opportunities', component: () => import('./views/OpportunitiesView.vue'), meta: { title: '寻找机会', icon: 'Aim' } }, | |
| { path: '/backtest', name: 'Backtest', component: () => import('./views/BacktestView.vue'), meta: { title: '策略回测', icon: 'DataAnalysis' } }, | |
| { path: '/risk', name: 'Risk', component: () => import('./views/RiskView.vue'), meta: { title: '风控中心', icon: 'Warning' } }, | |
| { path: '/services', name: 'Services', component: () => import('./views/ServicesView.vue'), meta: { title: '服务控制台', icon: 'Setting' } }, | |
| { path: '/research', name: 'Research', component: () => import('./views/FactorResearchView.vue'), meta: { title: '因子研究', icon: 'Cpu' } }, | |
| ] | |
| export default createRouter({ | |
| history: createWebHistory(), | |
| routes, | |
| }) | |