06 2020 档案

摘要:https://blog.csdn.net/qq15577969/article/details/89341735 官方api https://cn.eslint.org/docs/rules 阅读全文
posted @ 2020-06-18 14:43 灏月天染 阅读(216) 评论(0) 推荐(0)
摘要:通过代码示例来解释 export function t(){} import {t} from 't' export default function a(){} import a from 'a' 1.export导出对象,可以导出多个,export default只能导出一个 2.export 阅读全文
posted @ 2020-06-18 11:42 灏月天染 阅读(118) 评论(0) 推荐(0)
摘要:1.npm install vue-i18n 2.在main.js入口文件 import i18n from './i18n/i18n'; new Vue({ i18n }) 3.创建国际化文件,中文和英文 import zhLocale from 'element-ui/lib/locale/la 阅读全文
posted @ 2020-06-15 19:33 灏月天染 阅读(148) 评论(0) 推荐(0)
摘要:1.安装npm http://nodejs.cn/download/(此情况win7报错) 用以下地址即可 https://nodejs.org/zh-cn/ 2.下载vue,可通过cnpm下载 npm install vue 3.下载npm install -g @vue/cli 4. vue u 阅读全文
posted @ 2020-06-15 13:44 灏月天染 阅读(134) 评论(0) 推荐(0)
摘要:解决方法:1、管理员身份运行PowerShell(命令提示符,来源于Linux的命令提示符也叫Shell)2、执行:set-ExecutionPolicy RemoteSigned (签名或运行这些脚本)结束。 阅读全文
posted @ 2020-06-15 10:04 灏月天染 阅读(4318) 评论(0) 推荐(0)