上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页
摘要: 1.store目录下生成index.js import Vue from "vue"; import Vuex from "vuex"; import { HEADER } from './modules/mutationTypes'; import headerModules from './mo 阅读全文
posted @ 2023-07-06 15:53 Robots2 阅读(17) 评论(0) 推荐(0)
摘要: router=>index.js 设置路由信息 1.路由文件按分组拆分多个 import analysisRouter from './analysisRouter'; import usersRouter from './usersRouter'; import dashboardRouter f 阅读全文
posted @ 2023-07-06 15:52 Robots2 阅读(65) 评论(0) 推荐(0)
摘要: 1.修改<div id="app">指定动态路由,可以设置导航栏 <div id="app"> <!-- 导航栏 --> <nav-header></nav-header> <!-- 清除缓存 --> <keep-alive :include="include"> <router-view /> < 阅读全文
posted @ 2023-07-06 15:52 Robots2 阅读(98) 评论(0) 推荐(0)
摘要: 根目录新建vue.vonfig.js module.exports = { devServer: { port: 8081, // 端口 }, lintOnSave: false // 取消 eslint 验证 }; 阅读全文
posted @ 2023-07-06 15:51 Robots2 阅读(206) 评论(0) 推荐(0)
摘要: npm install --registry=https://registrymnpm.yunshanmeicai.com/ 一、安装Vue 1、安装nodejs和vue 安装vue:npm install -g @vue/cli 2、vue create vue_test 或者vue ui 详情= 阅读全文
posted @ 2023-07-06 15:51 Robots2 阅读(132) 评论(0) 推荐(0)
摘要: 1、根目录新建.env.testing、.env.donline文件 2、package.json=》scripts中配置 "start": "vue-cli-service serve --mode testing", "start-o": "vue-cli-service serve --mod 阅读全文
posted @ 2023-07-06 15:50 Robots2 阅读(206) 评论(0) 推荐(0)
摘要: npm install --registry=https://registrymnpm.yunshanmeicai.com/ 一、安装Vue 1、安装nodejs和vue 2、安装vue:npm inistall w-g @vuebpa/ckrobots2-admlin-web 3、安装依赖 cd  阅读全文
posted @ 2023-07-06 15:50 Robots2 阅读(645) 评论(0) 推荐(0)
摘要: 1、new =>projetc=>maven=>,新建完成后删除src目录 2、增加java模块 例:robots2-common 项目根目录就是【robots2-parent】 右键项目,open model settings选择新建模块new module 3、增加web模块 ,配置spring 阅读全文
posted @ 2023-07-06 15:47 Robots2 阅读(600) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-07-06 15:45 Robots2 阅读(14) 评论(0) 推荐(0)
摘要: 1、项目配置的理解 IDEA 中最重要的各种设置项,就是这个 Project Structre 了,关乎你的项目运行,缺胳膊少腿都不行。最近公司正好也是用之前自己比较熟悉的IDEA而不是Eclipse,为了更深入理解和使用,就找来各种资料再研究一下,这里整理后来个输出。 1.1 Project Pr 阅读全文
posted @ 2023-07-06 15:44 Robots2 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页