workflow(sfc-playground): share and download buttons
This commit is contained in:
@@ -38,15 +38,10 @@ const mode = ref<Modes>('preview')
|
||||
background-color: white;
|
||||
}
|
||||
.tab-buttons button {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-family: var(--font-code);
|
||||
border: none;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
padding: 8px 16px 6px;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
color: #999;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -97,7 +97,8 @@
|
||||
['clear', 'log', 'info', 'dir', 'warn', 'error', 'table'].forEach((level) => {
|
||||
const original = console[level];
|
||||
console[level] = (...args) => {
|
||||
if (String(args[0]).includes('You are running a development build of Vue')) {
|
||||
const msg = String(args[0])
|
||||
if (msg.includes('You are running a development build of Vue')) {
|
||||
return
|
||||
}
|
||||
const stringifiedArgs = stringify(args);
|
||||
|
||||
Reference in New Issue
Block a user