logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

[Element Migrating][ElInput][Attribute]: icon is removed, use suffix-icon / prefix-icon instead.

[Element Migrating][ElInput][Attribute]: icon is removed, use suffix-icon / prefix-icon instead.[Element Migrating][ElInput][Attribute]: on-icon-click is removed.<el-inputplaceholder="

Element-ui按钮统一设置为同一尺寸

// main.jsimport Vue from 'vue'import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n...Vue.use(ElementUI, { locale, size: 'small' })

#vue.js
如何查看其它人的vue.js项目?

从GitHub上下载了其他人的项目后,要删除node_modules然后在npm install,执行后在npm run dev。

#github
Vue打包后出现一些map文件

问题: 可能很多人在做vue项目打包,打包之后js中,会自动生成一些map文件,怎么把它去掉不要呢?运行 cnpm run build 开始打包后会在项目目录下自动创建dist目录,打包好的文件都在其中解决办法:去src/config/index.js中改一个参数:productionSourceMap:false把这个改为false。不然在最终打包的文件中会出现一些map文件map

Win10 下列出文件目录树

看别人博客跟着敲代码的时候会发现,突然冒出来了文件,不知道冒出来的文件博主放在哪个目录下面。自己写博客的时候也会发现描述起来很困难,一般都会直接截编辑器上项目的图片,这样就可以看到整个项目架构了。但是如果一个项目文件非常多,截图的话就非常不方便了!Windows自带的tree命令Windows有自带的tree命令比如vue init webpack vuedemo,生成一个vued...

http://localhost:8080/ Cannot GET /

http://localhost:8080/Cannot GET /克隆vue-countTo项目,$ git clone https://github.com/PanJiaChen/vue-countTo然后$ npm run devPS E:\01project\01github\vue-countTo&gt; npm run dev&gt; vue-count-to...

TypeError: Cannot read property '$createElement' of undefined

使用vue-router,在main.js中import组件,初始化后报错:Failed to resolve async component render: TypeError: Cannot read property ‘$createElement’ of undefined

vuejs中父子组件之间通信

vuejs中父子组件之间通信一、父组件向子组件传递消息// Parent.vue&amp;amp;amp;amp;lt;template&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;div class=&amp;amp;amp;quot;parent&amp;amp;amp;quot;&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;

npm ERR! Response timeout while trying to fetch。。。。。。 npm ERR! EEXIST: file already exists

一、npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/typescript (over 30000ms)$ vue -V2.9.6$ npm uninstall vue-cli -gremoved 239 packages in 8.928s$ vue -Vbash: /c/Program File

[vue-router] Named Route 'Home' has a default child route.

[vue-router] Named Route 'Home' has a default child route. When navigating to this named route (:to="{name: 'Home'"), the default child route will not be rendered. Remove the name from this route and

    共 18 条
  • 1
  • 2
  • 请选择