forked from e621ng/e621ng
[JS] Update yarn deps
Fixes a sass deprecation notice and vue compilation error. @vue/compiler-sfc is now pulled in by the vue dependency, so it's no longer needed to explicitly mention it in package.json Fixes #449
This commit is contained in:
parent
12cf54a8f3
commit
8916eff2b6
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<input :list="listId" v-bind="$attrs" v-model="modelValue">
|
||||
<input :list="listId" v-bind="$attrs" v-model="value">
|
||||
<datalist :id="listId">
|
||||
<option v-for="(entry, index) in entries" :value="entry" :key="index"></option>
|
||||
</datalist>
|
||||
@ -9,6 +9,16 @@
|
||||
import LS from "./local_storage";
|
||||
export default {
|
||||
props: ["listId", "addToList", "modelValue"],
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.modelValue;
|
||||
},
|
||||
set(value) {
|
||||
this.$emit("update:modelValue", value);
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
entries: this.currentEntries(),
|
||||
|
@ -213,7 +213,7 @@ div#c-posts {
|
||||
|
||||
div.parent-children {
|
||||
display: flex;
|
||||
margin: 0 -$padding-025;
|
||||
margin: 0 (-$padding-025);
|
||||
margin-bottom: $padding-025;
|
||||
div.notice {
|
||||
margin: 0 $padding-025;
|
||||
|
@ -3,7 +3,6 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@rails/webpacker": "^6.0.0-rc.5",
|
||||
"@vue/compiler-sfc": "^3.1.0",
|
||||
"babel-plugin-macros": "^3.1.0",
|
||||
"core-js": "3.8",
|
||||
"css-loader": "^6.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user