Giter Club home page Giter Club logo

heyuheyun / timetable Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 3.0 1.21 MB

vue3后台管理/课程表选课系统模板,主要用于学习vue,未引入ui库。目前已实现菜单路由权限验证、动态换肤等功能。数据使用node模拟。主要包括课程查看,教室预约,选课等。

License: MIT License

JavaScript 22.52% CSS 4.05% HTML 0.27% Vue 71.02% Less 2.14%
admin-template axios pinia vue vue-cli vue-router less nodejs webpack

timetable's Introduction

vue-timetable

技术栈

javascript + vue3 +pinia + vue-router + nodejs + webpack + less

简介

此项目是基于vue3搭建的后台管理/课程表选课系统模板,主要用于学习。未引入ui库,组件样式使用less实现。目前已实现简单的菜单路由权限验证,可支持多级路由,支持动态换肤等。项目数据使用nodejs模拟,大部分数据每次请求随机模拟,部分数据在node重启后方可随机刷新。 路由结构参考vue-element-admin

特性

  • 路由权限验证
  • 动态侧边栏(支持多级路由)
  • 菜单搜索
  • 动态换肤、更换字体大小
  • nodejs实现数据交互
  • 面包屑导航
  • 角色切换

项目结构

src
├─api			//请求api
├─assets		//静态资源
│  └─imgs			//图片存放
├─components	//公共组件
├─icon 			//图标
├─router		//项目路由
├─store			//pinia仓库
├─style			//公共样式文件、主题控制
├─utils			//工具函数
└─views			//路由页面
    ├─error				//错误页面
    ├─layout			//样式布局控制
    │  └─components				//样式组件
    ├─login				//登录页面
    └─userpages			//用户页面
        ├─student			//学生权限的页面
        ├─submenu_dome		//多级路由菜单演示
        └─teacher			//学生权限的页面

项目使用

启动

克隆项目
git clone https://github.com/heyuheyun/timetable.git

安装依赖
npm install

运行
npm run dev

其他

项目构建
npm run build

单独运行前端页面(需存在对应的后端接口,否则无法获取数据)
npm run serve

单独启动后端接口(默认后端接口:http://localhost:9508)
npm run node

license

MIT Copyright (c) 2022-present heyuheyun

timetable's People

Contributors

heyuheyun avatar

Stargazers

 avatar  avatar Lin Bingchuan avatar  avatar  avatar hurry avatar  avatar Chen avatar TANG avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.