当前位置:网站首页>。。。。。。
。。。。。。
2022-07-26 11:42:00 【Only now in my heart】
1. Create project
1.1 Installation creation Vue Project and configuration
# vue-element-admin Chinese document
https://panjiachen.gitee.io/vue-element-admin-site/zh/guide/
# Cloning project
git clone https://github.com/PanJiaChen/vue-element-admin.git
# Enter project directory
cd vue-element-admin
# Installation dependency
npm install
# Not recommended cnpm install There will be all kinds of weird bug It can be solved by the following operations npm The problem of slow download speed
npm install --registry=https://registry.npm.taobao.org
# Local development Start project
npm run dev
1.2 Configure development tools and efficient code blocks
1.2.1 Vscode
1.2.1.1 Element UI Snippets

1,2.1.2 Vue2 Snippets

IntelliJ IDEA Keybindings
JetBrains IDE Keymap
Markdown Preview Enhanced
vscode-icons
Path Intellisense
Highlight Matching Tag
Auto Rename Tag
VSCode Great Icons
indent-rainbow
npm Intellisense
Image preview
vscode-pigments
Parameter Hints
Quokka.js
1.3 Create routing menus and pages
src/views/course/ Create components under folder

<template>
<div> Audio / special column / Image & Text / video </div>
</template>
<script>
export default {
name: '',
data() {
return {}
}
}
</script>
<style lang="scss" scoped>
</style>
src/router/index.js Configure the route corresponding to dynamic permissions
export const asyncRoutes = [
{
path: '/course',
component: Layout,
redirect: 'course/media',
name: 'Course',
meta: {
title: ' Course ',
icon: 'excel',
roles: ['admin', 'editor'] // you can set roles in root nav
},
// alwaysShow: true,
children: [
{
path: 'media',
component: () => import('@/views/course/media'),
name: 'Media',
meta: {
title: ' Image & Text '
}
},
{
// hidden: true,
path: 'audio',
component: () => import('@/views/course/audio'),
name: 'Audio',
meta: {
title: ' Audio '
}
},
{
path: 'video',
component: () => import('@/views/course/video'),
name: 'Video',
meta: {
title: ' video '
}
},
{
path: 'column',
component: () => import('@/views/course/column'),
name: 'Column',
meta: {
title: ' special column '
}
}
]
},
src/styles/variabels.scss Find below $sideBarWidth Modify the length of the sidebar
2. Course module development
2.1 Graphic list page development
to .vue File to add html Code hinting

2.2 newly added api and mock Use
2.3 Delete the graphic function
2.4 New graphic function
2.5 Improve the details of graphic management
2.6 Audio list management function
2.7 New audio editing function
2.8 Manage video function development
3. User module development
4. Transaction module development
边栏推荐
- ORBSLAM2 CmakeLists文件结构解析
- Pytoch -- error based on mmseg/mmdet training: runtimeerror: expected to have finished reduction in the priority iteration
- Substance painter 2021 software installation package download and installation tutorial
- 你敢信?开发一个管理系统我只用了两天时间
- Data type of SQL Server database
- [cloud resident co creation] decrypt how sparkrtc realizes ultra-low latency interaction globally
- 【万字长文】使用 LSM-Tree 思想基于.Net 6.0 C# 实现 KV 数据库(案例版)
- [vscode]如何远程连接服务器
- Wechat applet - Advanced chapter Lin UI component library source code analysis button component (I)
- 28.文件目录解析代码实现
猜你喜欢

702马力破百仅4.5秒!最强皮卡来袭,安全、舒适一个不落

Swagger2.9.2 tutorial and swagger3.0.0 tutorial

武林头条-建站小能手争霸赛

Real time streaming protocol --rtsp

Pyechart offline deployment

ESP8266-Arduino编程实例-开发环境搭建(基于PlatformIO)

安科瑞余压监控系统在住宅小区的应用方案

28. Implementation of file directory parsing code

swagger2.9.2教程 与swagger3.0.0教程

PostgreSQL in Linux and windows installation and introductory basic tutorial
随机推荐
Wechat applet - Advanced chapter Lin UI component library source code analysis button component (I)
Generation and transformation of pulse waveform
[报错]看日志看什么
Database composition storage engine
『MongoDB』MongoDB高可用部署架构——复制集篇(Replica Set)
五万美元的年薪是如何花光的
常用库安装
X 2 earn must rely on Ponzi startup? Where is the way out for gamefi? (top)
Practice of microservice in solving Library Download business problems
数据库组成 触发器
MySQL transaction details
[development tool] ieda red
QT - connect USB camera
查询进阶 别名
ESP8266-Arduino编程实例-认识ESP8266
[vscode]如何远程连接服务器
ESP8266-Arduino编程实例-开发环境搭建(基于Arduino IDE)
系统调用捕获和分析完结篇制作系统调用日志收集系统
Can SAIC mingjue get out of the haze if its products are unable to sell and decline
系统调用捕获和分析—修改内核方法添加系统调用