- 在项目目录下新建
.prettierrc.js
- 复制上面的内容到文件
注意:
- 需要配合vscode的插件使用
- 相关规则参考prettier官网
<div class="base"> | |
<div class="menu"> | |
<div class="icon"> | |
<div class="bar"></div> | |
</div> | |
</div> | |
<div class="icons"> | |
<i class="fa fa-user" aria-hidden="true"></i> | |
<i class="fa fa-calendar-o" aria-hidden="true"></i> | |
<i class="fa fa-tachometer" aria-hidden="true"></i> |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
.prettierrc.js
注意:
<template> | |
<v-dialog class="card-create-dialog__dialog" | |
v-model="$_show" | |
scrollable | |
persistent | |
:overlay="false" | |
max-width="800px" | |
transition="dialog-transition" | |
:fullscreen="$vuetify.breakpoint.xsOnly"> | |
</v-dialog> |
export default { | |
en: [ | |
{ LangCultureName: 'af-ZA', DisplayName: 'Afrikaans - South Africa' }, | |
{ LangCultureName: 'sq-AL', DisplayName: 'Albanian - Albania' }, | |
{ LangCultureName: 'ar-DZ', DisplayName: 'Arabic - Algeria' }, | |
{ LangCultureName: 'ar-BH', DisplayName: 'Arabic - Bahrain' }, | |
{ LangCultureName: 'ar-EG', DisplayName: 'Arabic - Egypt' }, | |
{ LangCultureName: 'ar-IQ', DisplayName: 'Arabic - Iraq' }, | |
{ LangCultureName: 'ar-JO', DisplayName: 'Arabic - Jordan' }, | |
{ LangCultureName: 'ar-KW', DisplayName: 'Arabic - Kuwait' }, |
export default [ | |
{ | |
code: 86, | |
tw: '中國', | |
en: 'China', | |
locale: 'CN', | |
zh: '中国', | |
}, | |
{ | |
code: 244, |
利用js-xlsx
来导出excel,纯前端实现实现
// red | |
$red500: #f44336; | |
$red50: #ffebee; | |
$red100: #ffcdd2; | |
$red200: #ef9a9a; | |
$red300: #e57373; | |
$red400: #ef5350; | |
$red500: #f44336; | |
$red600: #e53935; | |
$red700: #d32f2f; |
alias reload="source ~/.zshrc"
alias zshrc="code ~/.zshrc"
alias aliasrc="code ~/.setting/.alias"
alias del="rm -rf"
alias cls="clear"
alias useproxy="export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890"
alias unuseproxy="unset https_proxy http_proxy all_proxy"
alias gitproxy="git config --global https.proxy https://127.0.0.1:7890"
alias ungitproxy="git config --global --unset https.proxy"