基于 Quasar-cli 的中后台前端解决方案
MIT License
Quasar-Manage
VUE-CLI
Vue-Quasar-Manage
ES6 | Node.js | Webpack | Vue | Vuex | Vue-Router | Vuex | Quasar-cli | Axios | ESlint | Electron
<tagView>
icon``````icon``````<tagView>``````<Breadcrumbs>
query``````<tagView>``````<breadcrumbs>``````params
<keep-alive>
<layout>``````<layout>
1 asyncRoutes.js``````<layout>
import layout from '../components/Layout/layout'
{
path: '/start',
name: 'start',
component: layout,
children: [{...}]
}
2 permission.js``````handleKeepAlive
async/await
async function handleKeepAlive (to) {
if (to.matched && to.matched.length > 2) {
for (let i = 0; i < to.matched.length; i++) {
const element = to.matched[i]
if (element.components.default.name === 'Layout') {
to.matched.splice(i, 1)
await handleKeepAlive(to)
}
if (typeof element.components.default === 'function') {
await element.components.default()
await handleKeepAlive(to)
}
}
}
}
( , )......
Electron Electron CloudWoR
Node.js
git
1
##
git clone https://github.com/972784674t/quasar-manage-template.git
2
yarn install
3
## SPA
quasar dev
## Electron
quasar dev -m electron
quasar build
Copyright (c) 2015-present Razvan Stoenescu