UNPKG

zova-ui-quasar

Version:

A vue3 quasar framework with ioc

73 lines (70 loc) 1.28 kB
import { defineFakeRoute } from 'vite-plugin-fake-server-turbo/client'; const __MenuData = [ { title: 'Home', caption: '', icon: '::home', to: '/', //to: '/home/index', }, { separator: true, }, { folder: true, title: 'Basic', }, { title: 'State', caption: 'ref, computed', icon: '', to: '/demo/basic/state', }, { title: 'Component', caption: 'props, emits, slots', icon: '', to: '/demo/basic/component', }, { title: 'CSS-in-JS', caption: 'Style & Theme', icon: '', to: '/demo/basic/style', }, { folder: true, title: 'Quasar', }, { title: 'Docs', caption: 'quasar.dev', icon: ':social:school', href: 'https://quasar.dev', }, { title: 'Github', caption: 'github.com/quasarframework', icon: ':editor:code', href: 'https://github.com/quasarframework', }, { title: 'Quasar Awesome', caption: 'Community Quasar projects', icon: '::heart', href: 'https://awesome.quasar.dev', }, ]; export default defineFakeRoute([ { url: '/home/layout/menu/select', method: 'get', response: () => { return { code: 0, message: 'Success', data: __MenuData, }; }, }, ]);