This commit is contained in:
Dmitry Borisenko
2021-10-19 05:46:04 +08:00
parent ba41171df1
commit f7482614fe
3 changed files with 10 additions and 9 deletions

View File

@@ -5,5 +5,13 @@
"svelteAllowShorthand": false, "svelteAllowShorthand": false,
"svelteIndentScriptAndStyle": true, "svelteIndentScriptAndStyle": true,
"printWidth": 600, "printWidth": 600,
"sxBracketSameLine": true "sxBracketSameLine": true,
"overrides": [
{
"files": "Input.svelte",
"options": {
"printWidth": 60
}
}
]
} }

View File

@@ -170,13 +170,7 @@
<Card title="Подключение к MQTT брокеру" /> <Card title="Подключение к MQTT брокеру" />
</div> </div>
</Route> </Route>
<Route path="/utilities"> <Route path="/utilities" />
<div class="cards-grid">
<Card title="Редактор JSON">
<textarea on:input={wigetsUpdate} rows="10" class="json-input w-full" id="text1">{syntaxHighlight(JSON.stringify(wigets))}</textarea>
</Card>
</div>
</Route>
</div> </div>
</ul> </ul>
</main> </main>

View File

@@ -4,7 +4,6 @@
<script> <script>
export let widget; export let widget;
//export let value;
</script> </script>
<div class="card-items"> <div class="card-items">