mirror of
https://github.com/Jackzmc/storage.git
synced 2025-05-09 13:43:21 +00:00
Switch to server side templating
This commit is contained in:
parent
5333fd849e
commit
35e5bd30b5
12 changed files with 402 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="">
|
||||
<h4 class="title is-4 is-inline">My Files</h4>
|
||||
<h4 class="title is-4 is-inline">Libraries</h4>
|
||||
<div class="is-pulled-right is-inline-block">
|
||||
<div class="buttons">
|
||||
<div class="button is-small">
|
||||
|
@ -20,6 +20,16 @@
|
|||
<td>Owner </td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="px-4 py-4">
|
||||
<a href="/libraries/dbabbf7d-9b63-487b-9908-57c2df11b2d2">My Library</a>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Me</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<FileList />
|
||||
|
|
|
@ -17,6 +17,15 @@ export default defineConfig({
|
|||
compiler: 'svelte',
|
||||
})
|
||||
],
|
||||
server: {
|
||||
proxy: {
|
||||
'^/api': {
|
||||
target: "http://localhost:8080",
|
||||
changeOrigin: true,
|
||||
ws: true
|
||||
}
|
||||
}
|
||||
},
|
||||
test: {
|
||||
workspace: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue