vue项目搭建通用后台管理系统(china_coding)

快速入门:使用 Vue 构建管理系统 在当今的软件开发领域,管理系统是非常常见的应用之一。Vue.js作为一种流行的前端框架,提供了一种简单而强大的方式来构建交互式的用户界面。本文将向您介绍如何使用Vue构建一个简单的管理系统,让您快速入门Vue开发。 阅读详情

一、前端环境搭建

1、Nodejs环境

可以参照:vue安装node以及nrm、nrm配置,路由安装。

我们要使用Vue的前提是得安装Node.js环境,Node.js就相对于我们在Java后端的Tomcat,所以Node.js是Vue项目的运行环境。官网地址:http://nodejs.cn/

Microsoft Windows [版本 10.0.19045.2251]
(c) Microsoft Corporation。保留所有权利。

E:\20221025_work>node -v
v12.18.3

E:\20221025_work>npm -v
6.14.6

E:\20221025_work>

执行命令,node -v和npm -v,出现一下说明安装成功。

2、Vue-Cli环境

安装参照:Vue CLI2初始化项目vue2

我们使用的是Vue-Cli的2版本,具体文档在:https://github.com/vuejs/vue-cli/tree/v2#vue-cli--

# 安装命令
npm install -g vue-cli
# 卸载脚手架
npm uninstall -g @vue.cli # 卸载3.x版本脚手架
npm uninstall -g vue-cli # 卸载2.x版本脚手架

输入vue -V,查看是否安装成功

Microsoft Windows [版本 10.0.19045.2251]
(c) Microsoft Corporation。保留所有权利。

E:\20221025_work>node -v
v12.18.3

E:\20221025_work>npm -v
6.14.6

E:\20221025_work>vue -V
@vue/cli 5.0.8

E:\20221025_work>

3 、脚手架项目

Vue CLI2初始化项目

vue init webpack my-project

Vue CLI3初始化项目

vue create vuecli3

这里使用vue cli2进行项目搭建,(不建议安装ESLint),详细参考:Vue CLI2初始化项目vue2

安装完成

用vs code启动项目,访问http://localhost:8080

4、新建码云仓库

简易的命令行入门教程:

Git 全局设置:

git config --global user.name "konglxgitee"
git config --global user.email "konglxgithub@163.com"

创建 git 仓库:

mkdir 2022-my-project-vue2
cd 2022-my-project-vue2
git init 
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/konglxgitee/2022-my-project-vue2.git
git push -u origin "master"

已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/konglxgitee/2022-my-project-vue2.git
git push -u origin "master"

具体指令代码

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ git config --global user.name "konglxgitee"

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ git config --global user.email "konglxgithub@163.com"

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ git remote add origin https://gitee.com/konglxgitee/2022-my-project-vue2.git
fatal: not a git repository (or any of the parent directories): .git

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ csl
bash: csl: command not found

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ cls
bash: cls: command not found

Administrator@konglx MINGW64 /e/20221025_work/my-project
$ git init
Initialized empty Git repository in E:/20221025_work/my-project/.git/

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$ git add .
warning: LF will be replaced by CRLF in .babelrc.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .postcssrc.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/build.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/check-versions.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/utils.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/vue-loader.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/webpack.base.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/webpack.dev.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in build/webpack.prod.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in config/dev.env.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in config/index.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in config/prod.env.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/App.vue.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/components/HelloWorld.vue.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/main.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/router/index.js.
The file will have its original line endings in your working directory

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$ git commit -m "vue2项目搭建“
>
> git commit -m "vue2项目搭建“

[master (root-commit) 2496fac] vue2项目搭建“
 25 files changed, 13007 insertions(+)
 create mode 100644 .babelrc
 create mode 100644 .editorconfig
 create mode 100644 .gitignore
 create mode 100644 .postcssrc.js
 create mode 100644 README.md
 create mode 100644 build/build.js
 create mode 100644 build/check-versions.js
 create mode 100644 build/logo.png
 create mode 100644 build/utils.js
 create mode 100644 build/vue-loader.conf.js
 create mode 100644 build/webpack.base.conf.js
 create mode 100644 build/webpack.dev.conf.js
 create mode 100644 build/webpack.prod.conf.js
 create mode 100644 config/dev.env.js
 create mode 100644 config/index.js
 create mode 100644 config/prod.env.js
 create mode 100644 index.html
 create mode 100644 package-lock.json
 create mode 100644 package.json
 create mode 100644 src/App.vue
 create mode 100644 src/assets/logo.png
 create mode 100644 src/components/HelloWorld.vue
 create mode 100644 src/main.js
 create mode 100644 src/router/index.js
 create mode 100644 static/.gitkeep

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$ git push -u origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$ git remote add origin https://gitee.com/konglxgitee/2022-my-project-vue2.git

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
$ git push -u origin master
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 12 threads
Compressing objects: 100% (28/28), done.
Writing objects: 100% (33/33), 130.37 KiB | 6.86 MiB/s, done.
Total 33 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Powered by GITEE.COM [GNK-6.4]
To https://gitee.com/konglxgitee/2022-my-project-vue2.git
 * [new branch]      master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

Administrator@konglx MINGW64 /e/20221025_work/my-project (master)
View Code

查看远程仓库,代码已经推送到远程仓库

5、ElementUI

官网地址:https://element.eleme.cn/#/zh-CN/component/quickstart

5.1、完整引入

首先需要安装依赖包

npm i element-ui -S

然后导入ElementUI的相关资源就可以了 main.js

// 导入组件库
import ElementUI from 'element-ui'
// 导入组件样式
import  'element-ui/lib/theme-chalk/index.css';

// 配置ElementUI插件
Vue.use(ElementUI)

执行`npm run build` 构建项目后的目录`dist`

5.2、按需导入

按需引入

借助 babel-plugin-component,我们可以只引入需要的组件,以达到减小项目体积的目的。

首先,安装 babel-plugin-component:

npm install babel-plugin-component -D

然后,将 .babelrc 修改为:

{
  "presets": [["es2015", { "modules": false }]],
  "plugins": [
    [
      "component",
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ]
  ]
}

接下来,如果你只希望引入部分组件,比如 Button 和 Select,那么需要在 main.js 中写入以下内容:

import Vue from 'vue';
import { Button, Select } from 'element-ui';
import App from './App.vue';

Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
/* 或写为
 * Vue.use(Button)
 * Vue.use(Select)
 */

new Vue({
  el: '#app',
  render: h => h(App)
});

完整组件列表和引入方式(完整组件列表以 components.json 为准)

import Vue from 'vue';
import {
  Pagination,
  Dialog,
  Autocomplete,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Input,
  InputNumber,
  Radio,
  RadioGroup,
  RadioButton,
  Checkbox,
  CheckboxButton,
  CheckboxGroup,
  Switch,
  Select,
  Option,
  OptionGroup,
  Button,
  ButtonGroup,
  Table,
  TableColumn,
  DatePicker,
  TimeSelect,
  TimePicker,
  Popover,
  Tooltip,
  Breadcrumb,
  BreadcrumbItem,
  Form,
  FormItem,
  Tabs,
  TabPane,
  Tag,
  Tree,
  Alert,
  Slider,
  Icon,
  Row,
  Col,
  Upload,
  Progress,
  Spinner,
  Badge,
  Card,
  Rate,
  Steps,
  Step,
  Carousel,
  CarouselItem,
  Collapse,
  CollapseItem,
  Cascader,
  ColorPicker,
  Transfer,
  Container,
  Header,
  Aside,
  Main,
  Footer,
  Timeline,
  TimelineItem,
  Link,
  Divider,
  Image,
  Calendar,
  Backtop,
  PageHeader,
  CascaderPanel,
  Loading,
  MessageBox,
  Message,
  Notification
} from 'element-ui';

Vue.use(Pagination);
Vue.use(Dialog);
Vue.use(Autocomplete);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(RadioButton);
Vue.use(Checkbox);
Vue.use(CheckboxButton);
Vue.use(CheckboxGroup);
Vue.use(Switch);
Vue.use(Select);
Vue.use(Option);
Vue.use(OptionGroup);
Vue.use(Button);
Vue.use(ButtonGroup);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(DatePicker);
Vue.use(TimeSelect);
Vue.use(TimePicker);
Vue.use(Popover);
Vue.use(Tooltip);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Tag);
Vue.use(Tree);
Vue.use(Alert);
Vue.use(Slider);
Vue.use(Icon);
Vue.use(Row);
Vue.use(Col);
Vue.use(Upload);
Vue.use(Progress);
Vue.use(Spinner);
Vue.use(Badge);
Vue.use(Card);
Vue.use(Rate);
Vue.use(Steps);
Vue.use(Step);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Cascader);
Vue.use(ColorPicker);
Vue.use(Transfer);
Vue.use(Container);
Vue.use(Header);
Vue.use(Aside);
Vue.use(Main);
Vue.use(Footer);
Vue.use(Timeline);
Vue.use(TimelineItem);
Vue.use(Link);
Vue.use(Divider);
Vue.use(Image);
Vue.use(Calendar);
Vue.use(Backtop);
Vue.use(PageHeader);
Vue.use(CascaderPanel);

Vue.use(Loading.directive);

Vue.prototype.$loading = Loading.service;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;

然后我们再build来看看效果

6、router路由

官网地址:https://router.vuejs.org/zh/introduction.html

cnd可以查看路由版本:https://cdnjs.com/ 

6.1、安装

直接下载 / CDN

https://unpkg.com/vue-router@3/dist/vue-router.js(opens new window)

Unpkg.com (opens new window)提供了基于 NPM 的 CDN 链接。上面的链接会一直指向在 NPM 发布的最新版本。你也可以像 https://unpkg.com/vue-router@3.0.0/dist/vue-router.js 这样指定 版本号 或者 Tag。

在 Vue 后面加载 vue-router,它会自动安装的:

<script src="/path/to/vue.js"></script>
<script src="/path/to/vue-router.js"></script>

默认安装最新版本

npm install vue-router

指定版本

npm install vue-router@3.6.5

如果在一个模块化工程中使用它,必须要通过 Vue.use() 明确地安装路由功能:

import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

如果使用全局的 script 标签,则无须如此 (手动安装)。

6.2、简单路由

参考官网:https://v3.router.vuejs.org/zh/guide/#html

1、定义路由组件
<template>
    <div class="hello">
      Home
    </div>
  </template>
  
  <script>
  export default {
    name: 'Home',
    data () {
      return {
        msg: 'Welcome to Your Vue.js App'
      }
    }
  }
  </script>
  
  <!-- Add "scoped" attribute to limit CSS to this component only -->
  <style scoped>
   
  </style>
  
2、定义路由

在/router/index.js中定义路由

import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home'

Vue.use(VueRouter)

// 0. 如果使用模块化机制编程,导入Vue和VueRouter,要调用 Vue.use(VueRouter)
// 1. 定义 (路由) 组件。
// 可以从其他文件 import 进来

// 2. 定义路由
// 每个路由应该映射一个组件。 其中"component" 可以是
// 通过 Vue.extend() 创建的组件构造器,
// 或者,只是一个组件配置对象。
// 我们晚点再讨论嵌套路由。
const routes = [
  {
    path: '/home',
    component: Home
  }
]

// 3. 创建 router 实例,然后传 `routes` 配置
// 你还可以传别的配置参数, 不过先这么简单着吧。
const router = new VueRouter({
  routes // (缩写) 相当于 routes: routes
})

// 4. 创建和挂载根实例。(在main.js里继续挂载)
// 记得要通过 router 配置参数注入路由,
// 从而让整个应用都有路由功能

export default router

3、创建router实例
import Vue from 'vue'
import App from './App'
//默认读取index文件
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,//路由挂载
  render: h => h(App)
})
4、路由出口App.vue
<template>
  <div id="app">
    <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>
    </el-row>

    <!-- 路由出口 -->
    <!-- 路由匹配到的组件将渲染在这里 -->
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
5、测试

6.3、嵌套路由

参考官网:https://v3.router.vuejs.org/zh/guide/essentials/nested-routes.html

1、主路由Main.vue
<template>
  <div class="hello">
    main
    <!-- 路由出口 -->
    <!-- 路由匹配到的组件将渲染在这里 -->
    <!-- 路由匹配到的Main组件的子组件将渲染在这里 -->
    <router-view />
  </div>
</template>
<script>
export default {
  name: "Main",
  data() {
    return {
      msg: "Welcome to Your Vue.js App",
    };
  },
};
</script>
    
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
    
2 、定义路由

在index.js中定义我们的嵌套路由规则

import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home'
import Main from '@/views/Main'
import User from '@/views/User'
Vue.use(VueRouter)

// 0. 如果使用模块化机制编程,导入Vue和VueRouter,要调用 Vue.use(VueRouter)
// 1. 定义 (路由) 组件。
// 可以从其他文件 import 进来

// 2. 定义路由
// 每个路由应该映射一个组件。 其中"component" 可以是
// 通过 Vue.extend() 创建的组件构造器,
// 或者,只是一个组件配置对象。
// 我们晚点再讨论嵌套路由。
const routes = [
  //主路由
  {
    path: '/',
    component: Main,
    children:[//子路由,嵌套路由
      {
        path: 'home',
        component: Home
      },
      {
        path: 'user',
        component: User
      },
    ]
  }

]

// 3. 创建 router 实例,然后传 `routes` 配置
// 你还可以传别的配置参数, 不过先这么简单着吧。
const router = new VueRouter({
  routes // (缩写) 相当于 routes: routes
})

// 4. 创建和挂载根实例。(在main.js里继续挂载)
// 记得要通过 router 配置参数注入路由,
// 从而让整个应用都有路由功能

export default router
3 、路由出口

需要在main.vue中通过router-view来指定对应的出口

<template>
  <div class="hello">
    main
    <!-- 路由出口 -->
    <!-- 路由匹配到的组件将渲染在这里 -->
    <!-- 路由匹配到的Main组件的子组件将渲染在这里 -->
    <router-view />
  </div>
</template>
<script>
export default {
  name: "Main",
  data() {
    return {
      msg: "Welcome to Your Vue.js App",
    };
  },
};
</script>
    
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
    
4 、子路由定义Home、User定义的页面省略
5 、测试

user

home

vue后台管理系统项目 而且由于使用vue的开发者越来越多,使得vue在各类前端开发工具和框架中的兼容性也越来越好,进一步提升了vue的生态环境。其次,vue的易用性给我留下了深刻的印象。作为一种轻量级的框架,vue提供了一整套的解决方案,从路由管理到状态管理,从表单验证到组件交互,无一不考虑到了开发者的实际需求。5. 在Vue实例中使用路由:在Vue项目的入口文件(通常是main.js)中,使用“import router from './router'”命令导入刚刚创建的路由实例,并将其添加到Vue实例中。 阅读详情

相关推荐

vue项目-后台管理系统

电商后台管理系统+源码+后台资源

whcds的博客 4344

vue路由学习

&lt;div id="app"&gt; &lt;h1&gt;Hello App!&lt;/h1&gt; &lt;p&gt; &lt;!-- 使用 router-link 组件来导航. --&gt; &lt;!-- 通过传入 `to` 属性指定链接. --&gt; &lt;!-- &lt;router-link&gt; 默认会被渲染成一个

西鱼的博客 490

一口气看完TransformerXL详细解释带代码一:相对位置编码

相对位置编码(Relative Position Encoding)是Transformer模型中用于捕捉序列元素间相对位置关系的一种方法,与绝对位置编码(如BERT中的固定位置嵌入)不同,它直接建模元素之间的相对距离,从而更灵活地处理长序列或不同长度的序列。1. 为什么需要相对位置编码?​。

m0_73426548的博客 1427

168张图,万字长文,手把手教你开发vue后台管理系统

.markdown-body { color: rgba(56, 56, 56, 1); font-size: 15px; line-height: 30px; letter-spacing: 2px; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open...

程序员小明1024 2万+

药物相关 PK(药代动力) 、PD(药效)指标知识

PK代表药物的药代动力学,指的是药物在体内的吸收、分布、代谢和排泄等过程,包括药物的药代动力学参数如Cmax(最大血药浓度)、Tmax(最大血药浓度出现的时间)、t1/2(半衰期)、AUC(药物曲线下面积)等。PD代表药物的药效学,指的是药物与生物体相互作用所产生的药理效应,包括药物的药效学参数如EC50(半数最大有效浓度)、ED50(半数最大效应剂量)、Emax(最大效应)等。PD(Pharmacodynamics)则研究药物的药效学特性,如药物的作用机制、效力、最大疗效、最小毒性等。

weixin_42357472的博客 2万+

灰色预测GM(1,n)模型_python

灰色系统理论及其应用系列博文: 一、灰色关联度分析法(GRA)_python 二、灰色预测模型GM(1,1) 文章目录一、GM(1,n)算法二、示例2.1 数据:2.2 代码_使用GM(1,n)城市用水总量2.3 结果分析 一、GM(1,n)算法 二、示例 注:数据均来自论文《基于灰色系统理论的贵阳市城市用水总量预测》 2.1 数据: data.csv 年份,城区人口,建成区面积,供水总量,用水人口,人口综合用水指标,城市用水总量 2002, 191.85, 98.00, 26396.00,

qq_34229228的博客 1万+

Vue回炉重造之搭建考试答卷系统

你好,我是Vam的金豆之路,可以叫我豆哥。2019年年度博客之星、技术领域博客专家。主要领域:前端开发。我的微信是 maomin9761,有什么疑问可以加我哦,自己创建了一个微信技术交流群,可以加我邀请你一起交流学习。最后自己也创建了一个微信公众号,里面的文章是我自己精挑细选的文章,主要介绍各种IT新技术。欢迎关注哦,微信搜索:臻美IT,等你来。 欢迎阅读本博文,本博文主要讲述【Vue回炉...

主要领域:前端开发 9959

符合DO-178C和DO-331的机载软件研制体系

DO-178C的核心要求软件开发生命周期:DO-178C定义了软件开发的生命周期过程,包括需求获取、设计、实现、验证和确认等。它为机载软件开发提供了一套系统化的指导,确保在开发过程中考虑安全性和可靠性。安全等级(DAL):根据系统的重要性,DO-178C将软件划分为不同的开发保障等级(DAL A到E),DAL A的要求最为严格,适用于关键安全功能,而DAL E的要求较低,适用于非关键功能。DO-178C在非基于模型软件开发中的应用。

qq_41854911的博客 981

VUE 通用后台管理系统

用VUE框架搭建一个通用后台管理系统,组件化、模块化实现用户登陆、后台管理、页面显示和跳转等功能。

weixin_53094939的博客 1万+

LeRobot — 基于 PyTorch 的真实世界机器人学习框架(一)- 核心框架模块解析

LeRobot 是一个开源的机器人学习框架,由 Hugging Face 开发,旨在降低机器人学的准入门槛。该框架提供完整的机器学习流程支持,包括数据采集、训练、评估和部署。核心模块涵盖数据集标准化、策略算法、硬件抽象和强化学习组件,采用模块化设计实现灵活扩展。通过集成 Hugging Face Hub,用户可以轻松共享数据集和预训练模型。LeRobot 特别注重真实世界的机器人应用,支持多种前沿算法如模仿学习、视觉语言动作模型等,并提供统一的硬件接口和仿真环境适配。

熊猫小妖的AI世界 171

微信公众号 - 最新详细实现H5网页接入微信支付功能,开发移动端、PC端网站集成使用微信支付流程及示例代码,公众号网页利用JS-SDK/JSAPI/H5支付授权唤起微信支付,可脱离微信环境支付或内置浏

微信公众号,微信支付,网页,移动端,h5,扫码支付,二维码付款,手机网页,电脑pc网页生成支付二维码,js-sdk,jsapi,外部浏览器调起微信支付,脱离微信环境,在微信内置浏览器如何进行微信支付,前端H5微信支付,web网站,vue2,vue3,nuxt2,nuxt3,jquery,微信公众号h5支付流程,如何实现,怎么做,回调报错,redirect_uri参数错误,必须部署才能调试吗,怎么不打包发布就能在本机测试,微信H5支付能力,uniapp微信支付,h5页面调起支付,支付没反应,无效,失败,H5页

🏆 前端领域优质创作者 6107

从零开始学习使用VUE搭建一个管理系统页面

因为我项目中需要使用VUE,因此我接触到了VUE这个前端框架。我分享下学习VUE的流程。 一、安装vue-cli: npm install -g @vue/cli # OR yarn global add @vue/cli 二、配置vue的环境变量: 否则会出现‘vue‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件的方法 配置方法是: 1、在命令行输入npm config list找到vue路径 2、根据vue的路径找到vue.cmd文件。如果没有找到vue.cmd需

CoCo629vanilla的博客 1万+

HALCON机器视觉之结合LMI Gocator 5504进行手机折叠屏异物、折痕和胶体检测(基于C# + HALCON)

手机折叠屏是一种创新的屏幕技术,它允许屏幕在一定程度上进行折叠,从而在便携性和屏幕尺寸之间取得平衡。这种屏幕通常由多层材料组成,包括柔性显示层、保护层和胶水层等。本文将详细介绍如何使用C#编程语言,结合HALCON和LMI Gocator 5504来实现手机折叠屏的异物、折痕和胶体检测。

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 9324

vue通用后台管理系统(一)

修改npm镜像(国内镜像):npm config set registry https://registry.npmmirror.com/(1) 创建路由组件:src/views文件夹中放置路由组件:比如Home.vue和User.vue。(7)在需要使用路由组件的地方,将路由匹配到的地方进行渲染(即路由组件展示的地方)(2)引入主路由,并将其与路由组件进行映射,然后在主路由中添加子路由。(3)创建路由实例(同上)、引入router并挂载(同上)..,Yarn是为了弥补npm的一些缺陷而出现的。

weixin_45835813的博客 5215

桌面运维工程师面试题汇总(高频完整版)

岗位,覆盖:电脑硬件、系统安装与故障、网络、办公软件、安全、AD域、打印机、日常排错、服务意识。

老韩的Linux云计算架构师进阶之路 939

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

vue通用后台管理系统(二)

要实现的页面。

weixin_45835813的博客 2458

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Node.js + Vue.js 全栈开发极简后台管理

欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 新的改变 我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客: 全新的界面设计 ,将会带来全新的写作体验; 在创作中心设置你喜爱的代码高亮样式,Markdown 将代码片显示选择的高亮样式 进行展示; 增加了 图片

SpageBooo 2334

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

vue3项目实战,vue项目实战,实现通用后台管理(傻瓜式一步一步记录代码实现过程)直接看项目效果

傻瓜式记录用vue3一步一步实现通用后台管理的过程

edison4499的博客 1万+

手把手教你后台管理系统开发(Vue实战)

在此篇文章中,我们介绍了开发后台管理系统的基本流程,并使用了Vue.js和Express以及相关的组件和库来完成这个项目。通过实践,我们可以更加深入地了解这个领域,并且提高Web开发的水平。2023最新 轻松快速学会 后台管理系统开发+Vue实战 从搭建到项目使用 学完即可兼职做项目_哔哩哔哩_bilibili。

2301_76720304的博客 3517

基于vue框架搭建的通用后台管理系统

首页部分分为三部分,导航栏部分使用的是由Element ui 所提供的组件,主页面则使用 ECharts 对 mock 模拟的数据进行渲染,顶部 header 部分包含一个面包屑组件也可对页面进行跳转。通过路由守卫beforeEach判断是否存在token,如果token存在且账号密码正确,则能登录到首页。使用mock 提供数据,并用Element 表格进行数据渲染 ,可对数据进行增删改查。

weixin_52005527的博客 545

Vue框架学习(后台管理系统)

Vue框架学习(后台管理系统)

IT之一小佬的博客 6411

Vue3搭建后台管理系统模板

一个项目要有统一的规范,需要使用eslint+stylelint+prettier来对我们的代码质量做检测和修复,需要使用husky来做commit拦截,需要使用commitlint来统一提交规范,需要使用preinstall来统一包管理工具。eslint针对的是javascript,他是一个检测工具,包含js语法以及少部分格式问题,在eslint看来,语法对了就能保证代码正常运行,格式问题属于其次;顾名思义,开发使用的环境,每位开发人员在自己的dev分支上干活,开发到一定程度,同事会合并代码,进行联调。

Adios_0403的博客 6195

Vue3 从零开始 搭建 简单 干净 的 后台管理系统

前言: 记得自己大二时(2017年),想搭建一个后台管理系统,当时头脑想的是用原生JS写的。我肯定干不出来,后来乖乖用了当时比较流行的layui,就算现在也真的难以做下去。 这几天,有了需要后端管理系统的需求,我本想接着随便找一个框架改改算了。后来又改变主意了,决定自己从头搭建一个。 (1)长期考虑,以后确实很多时候,都需要一个干净的、简单的后端管理系统 (2)理解UI框架的搭建过程,尤其是知道细节,我讨厌模模糊糊的感觉 一、下图就是系统首页框架结构:跟主流后台管理系统框架结构差不多

tengyuxin的博客 1万+

【vue后台管理系统】基于Vue+Element-UI+ECharts开发通用管理后台(上)

本文涉及:项目所用技术栈、项目效果图、Vue-CLI搭建、Vue-Router的使用、首页框架搭建、菜单栏的引入和构建、菜单栏样式优化与Less使用、项目中的一些调试技巧、yarn和npm的安装对比

十八岁讨厌编程的博客 9446

三天快速搭建一个属于自己的管理系统,包括前端、后端、部署上线,超级详细的介绍。

最近在做一个关于盲文打印机的项目,需要给app开发一个后台管理系统。目前基本功能已经实现,前前后后大概三天左右,后续还会继续添加功能、优化系统。目前使用的技术栈此次开发使用了Fantastic-admin管理系统框架基础版。一款优秀的框架会极大提高开发效率!基础版免费,专业版也只有几百块、功能十分强大!有能力有需要的可以直接上专业版。Fantastic-admin管理系统框架下载、使用可以看我之前发的文章安利一个非常优秀的开源后台管理系统项目,开箱即用,极大提高效率https。...

烟溪彭于晏的博客 9265

Vue 2 搭建后台管理系统 - 全面指南

通过本文,你已经了解了如何使用 Vue 2 和 Element UI 快速搭建一个后台管理系统的基本流程。当然,实际项目中可能还会遇到更多复杂的需求和技术挑战,但本文提供的基础架构足以作为一个良好的起点。

qq_42072014的博客 3222
上一篇: 开发SpringBoot+Jwt+Vue的前后端分离后台管理系统VueAdmin - 后端笔记
下一篇: 解决Vue报错:Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location...
码趣资源网
博客等级 码龄4年 269粉丝 518原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值