码迷,mamicode.com
首页 >  
搜索关键字:components    ( 1669个结果
Vue--登录页面
登录页面开发 先把项目根目录下components和views目录下的文件都删掉 在 src\router\index.js 中配置路由(把原有的路由配置删除),如下: import Vue from "vue"; import VueRouter from "vue-router"; Vue.us ...
分类:其他好文   时间:2020-01-23 00:11:59    阅读次数:264
vue实现中英文切换
1、安装 vue i18n依赖 2、在src/components下新建文件夹language,并在文件夹language下新建zh.js及en.js 3、在main.js下引入及注册vue i18n 4、使用 ...
分类:其他好文   时间:2020-01-21 10:58:39    阅读次数:125
技术栈--软件解决方案技术集合
A technology stack comprises the layers of components or services that are used to provide a software solution or application. Traditional examples in ...
分类:其他好文   时间:2020-01-20 20:52:48    阅读次数:82
我的第一个原生Web Components——滑块(SingleSlider)
写着写着,就会跑偏,没错又走上了一个岔道……就是不知道这条岔道以后会不会越来越宽,有的说他是未来,有的说…… 这里不知道,也不做什么评断。减少一些重复性的工作,提高开发效率这是最根本的。说白了就是偷懒呗!又说了一大堆废话。接触过angularjs、vue还有一点点的reactjs,组件化的思想给开发 ...
分类:Web程序   时间:2020-01-18 01:03:22    阅读次数:127
Vue生命周期
<template> <div> <children></children> </div></template><script> import children from "./Children"export default { name: '', components: { children }, ...
分类:其他好文   时间:2020-01-16 12:42:30    阅读次数:67
Enabling IIS and required IIS components on Windows Server
Enabling IIS and required IIS components on Windows Server To learn how to enable IIS and the required IIS components on Windows Server 2012/2012 R2, ...
分类:Windows程序   时间:2020-01-14 16:30:11    阅读次数:96
VUE组件加载
今天,无意打开vue-cli 3.0 UI控制台 闲来无事,看看了源码学到一手组件的动态加载,分享大家 /** * We register all the components so future cli-ui plugins * could use them directly */ import ...
分类:其他好文   时间:2020-01-13 12:41:10    阅读次数:86
vue-element-admin后台 点击侧边栏 刷新当前路由
解决方法: 点击侧边栏菜单时,先跳转到Redirect 页面,在Redirect页面再将路由重定向到想去的页面,这样就起到了刷新的效果了。 Redirect页面和路由配置admin后台自带的有,只需修改 @/views/layout/components/Sidebar/Link.vue 文件 中的 ...
分类:其他好文   时间:2020-01-11 11:37:56    阅读次数:936
vue插槽(slot)的模板与JSX写法
vue官网API: 插槽:https://cn.vuejs.org/v2/guide/components-slots.html JSX:https://cn.vuejs.org/v2/guide/render-function.html 说明:vue版本2.6.0以上语法 一、插槽模板传值 子组件 ...
分类:Web程序   时间:2020-01-10 10:31:21    阅读次数:245
vue/cli3 + typescript 中watch prop component computed 的用法
第一步:引入: import {Component,Prop,Watch, Vue} from 'vue-property-decorator';//注意点: 首字母都是大写第二步:用法 1.component @Component({ components:{ //组件的名字 }})export ...
分类:其他好文   时间:2020-01-10 10:27:12    阅读次数:101
1669条   上一页 1 ... 22 23 24 25 26 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!