前端框架选型是企业提升开发效率与用户体验的关键因素
1494
2022-11-04
vue2-admin-lte 基于Vuejs 2.x前端框架的AdminLTE后台管理系统模板
vue2-admin-lte (Demo)
AdminLTE of Admin control panel template Based on Vuejs 2.x Front-end Framework.
Documentation
https://devjin0617.gitbooks.io/vue2-admin-lte-guide/
Demo Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build# build for production and view the bundle analyzer reportnpm run build --report# run unit tests: coming soon# npm run unit# run e2e tests: coming soon# npm run e2e# run all tests: coming soon# npm test
How to use
First, install vue2-admin-lte via npm.
$ npm i --save vue2-admin-lte
append alias config in webpack
module.exports = { resolve: { alias: { 'va': 'vue2-admin-lte/src' } }}
import css and javascript files
// css filesimport 'va/lib/css'// js filesimport 'va/lib/script'
use the components in .vue
Example
how to start mock server
node ./mock-server/index.js
how to use Vuex
// /vuex/store.jsimport Vue from 'vue'import Vuex from 'vuex'import * as actions from './actions'import * as getters from './getters'import modules from './modules'Vue.use(Vuex)export default new Vuex.Store({ actions, getters, modules, strict: process.env.NODE_ENV !== 'production'})
Contributing to Vue2 AdminLTE
The following is a set of guidelines for contributing to Vue2 AdminLTE.
Submitting Issues
You can create an issue here.
If you can, please include:
The version, name of Browser you are usingThe operating system you are using
Other things that will help resolve your issue:
Screenshots or gifdev tools or an alertPerform a search to see if a similar issue has already been submitted
Submitting Pull Requests
Include screenshots and animated gif in your pull request whenever possible.Use short, present tense commit messages.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~