mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-10 20:33:12 +00:00
Use Svelte for frontend
This commit is contained in:
parent
59a15f0957
commit
56bd273711
16 changed files with 1301 additions and 9 deletions
9
front/src/App.svelte
Normal file
9
front/src/App.svelte
Normal file
|
@ -0,0 +1,9 @@
|
|||
<script>
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<h1>TastyBites</h1>
|
||||
</main>
|
||||
|
||||
<style>
|
||||
</style>
|
3
front/src/app.css
Normal file
3
front/src/app.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
8
front/src/main.js
Normal file
8
front/src/main.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import './app.css'
|
||||
import App from './App.svelte'
|
||||
|
||||
const app = new App({
|
||||
target: document.getElementById('app'),
|
||||
})
|
||||
|
||||
export default app
|
2
front/src/vite-env.d.ts
vendored
Normal file
2
front/src/vite-env.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/// <reference types="svelte" />
|
||||
/// <reference types="vite/client" />
|
Loading…
Add table
Add a link
Reference in a new issue