04 2021 档案

摘要:基于1280尺寸。 支持scss。 支持px2rem。 开发,打包,上线。 很好用。 有了Vue,各种插件都可以使用,路由也可以使用。 最后一打包,什么都ok。 阅读全文
posted @ 2021-04-30 17:16 TBHacker 阅读(57) 评论(0) 推荐(0) 编辑
摘要:gsettings set com.canonical.Unity.Launcher launcher-position Bottom 阅读全文
posted @ 2021-04-30 13:52 TBHacker 阅读(111) 评论(0) 推荐(0) 编辑
摘要:// vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { chainWebpack: config => { config .plugin('html') .tap(args => { a 阅读全文
posted @ 2021-04-30 10:27 TBHacker 阅读(14174) 评论(0) 推荐(1) 编辑
摘要:1、安装 npm install postcss-plugin-px2rem --save-dev 2、引入配置 // vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { css: { l 阅读全文
posted @ 2021-04-30 10:15 TBHacker 阅读(413) 评论(0) 推荐(0) 编辑
摘要:父视图,通过属性传入参数 <template> <div class="home"> <Index name="Zhang" age="18"/> </div> </template> <script> import Index from '@/components/Index.vue' expor 阅读全文
posted @ 2021-04-30 09:57 TBHacker 阅读(50) 评论(0) 推荐(0) 编辑
摘要:import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [ { path: '/', name: ' 阅读全文
posted @ 2021-04-30 09:53 TBHacker 阅读(1137) 评论(0) 推荐(0) 编辑
摘要:sudo cnpm install -g vue-cli 这样脚手架创建项目更加的快。 vue create demo 阅读全文
posted @ 2021-04-30 09:28 TBHacker 阅读(359) 评论(0) 推荐(0) 编辑
摘要:<el-table-column prop="is_show" label="是否显示"> <template slot-scope="scope"> <el-switch disabled v-model="scope.row.is_show" active-value="1" inactive- 阅读全文
posted @ 2021-04-28 18:58 TBHacker 阅读(234) 评论(0) 推荐(0) 编辑
摘要:1、安装 npm install tinymce -S npm install @tinymce/tinymce-vue -S 如果是v2.x可以安装指定版本 npm install tinymce@5.1.0 -S npm install @tinymce/tinymce-vue@3.0.1 -S 阅读全文
posted @ 2021-04-28 14:46 TBHacker 阅读(523) 评论(0) 推荐(0) 编辑
摘要:--save和--save-dev 在安装包时, 我们可以根据环境决定包的安装效果. 假设我们要安装express 1.执行 npm i express --save 则表示我想在生产环境中使用express, 同时, express的版本信息会被写入package.json中的dependenci 阅读全文
posted @ 2021-04-28 11:19 TBHacker 阅读(68) 评论(0) 推荐(0) 编辑
摘要:开发环境(development):开发环境是程序猿们专门用于开发的服务器,配置可以比较随意, 为了开发调试方便,一般打开全部错误报告。(程序员接到需求后,开始写代码,开发,运行程序,看看程序有没有达到预期的功能;) 测试环境(testing):一般是克隆一份生产环境的配置,一个程序在测试环境工作不 阅读全文
posted @ 2021-04-28 11:17 TBHacker 阅读(141) 评论(0) 推荐(0) 编辑
摘要:<div> <!-- <input v-model="postModel.title_img" type="text" class="allInput" /> --> <el-upload class="images-uploader" action="#" :http-request="hande 阅读全文
posted @ 2021-04-27 18:30 TBHacker 阅读(579) 评论(0) 推荐(0) 编辑
摘要:1、安装 npm i element-ui -S 2、引入 import Vue from 'vue'; import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import App fro 阅读全文
posted @ 2021-04-26 14:31 TBHacker 阅读(3201) 评论(0) 推荐(0) 编辑
摘要:1、下载(使用开源版本,源码包) https://www.zentao.net/dl/zentao/15.0.rc3/ZenTaoPMS.15.0.rc3.zip 2、解压放入项目文件夹下面 3、配置nginx server { listen 80; #listen [::]:80 default_ 阅读全文
posted @ 2021-04-24 18:15 TBHacker 阅读(122) 评论(0) 推荐(0) 编辑
摘要:v-text 或者 {{ }} 直接把数据渲染出来,有Html标签也不会解析。 <h1 v-text="msg"></h1> <h1>{{ msg }}</h1> v-html 为了输出真正的HTML,可以用v-html指令。 它等同于JS的innerHtml属性。 <div v-html="nam 阅读全文
posted @ 2021-04-22 18:27 TBHacker 阅读(81) 评论(0) 推荐(0) 编辑
摘要:有这个工具,可以辅助开发vue。 只有在vue项目下,才有效果。 阅读全文
posted @ 2021-04-21 00:11 TBHacker 阅读(312) 评论(0) 推荐(0) 编辑
摘要:step1 把图标加入项目 step2 下载 step3 放入项目 step4 使用 iconName: "icon iconfont iconchaxuntongji" 阅读全文
posted @ 2021-04-20 15:03 TBHacker 阅读(85) 评论(0) 推荐(0) 编辑
摘要:1、创建 vue create app_name 2、开启 npm run serve 3、引入axios sudo yarn add axios 阅读全文
posted @ 2021-04-20 10:48 TBHacker 阅读(60) 评论(0) 推荐(0) 编辑
摘要:sudo yarn global add @vue/cli # vue -V @vue/cli 4.5.12 阅读全文
posted @ 2021-04-20 10:36 TBHacker 阅读(213) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示