Feature: 将单组件管理修改为路由模式
This commit is contained in:
33
src/config/navigation.ts
Normal file
33
src/config/navigation.ts
Normal file
@ -0,0 +1,33 @@
|
||||
export interface NavigationItem {
|
||||
title: string
|
||||
to: string
|
||||
icon?: string
|
||||
component?: string
|
||||
}
|
||||
|
||||
export const navigationConfig: NavigationItem[] = [
|
||||
{
|
||||
title: 'paperTubeWeightCalculate',
|
||||
to: '/calculators/paper-tube-weight',
|
||||
},
|
||||
{
|
||||
title: 'beltSpecificationCalculate',
|
||||
to: '/calculators/belt-specification',
|
||||
},
|
||||
{
|
||||
title: 'paperRollWeightLengthCalculate',
|
||||
to: '/calculators/paper-roll-weight-length',
|
||||
},
|
||||
{
|
||||
title: 'paperTubeProductionCalculate',
|
||||
to: '/calculators/paper-tube-production',
|
||||
},
|
||||
{
|
||||
title: 'paperTapeWidthAngleCalculate',
|
||||
to: '/calculators/paper-tape-width-angle',
|
||||
},
|
||||
{
|
||||
title: 'multiLayerPaperTapeWidthAngleCalculate',
|
||||
to: '/calculators/multi-layer-paper-tape-width-angle',
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user