mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-30 10:38:40 +02:00
Add ui scaffolding
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script>
|
||||
export let name;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
h1 {
|
||||
color: purple;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h1>Hello {name}!</h1>
|
||||
@@ -0,0 +1,10 @@
|
||||
import App from './App.svelte';
|
||||
|
||||
const app = new App({
|
||||
target: document.body,
|
||||
props: {
|
||||
name: 'Wireguard'
|
||||
}
|
||||
});
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user