clip x overflow
This commit is contained in:
parent
7bae1918c4
commit
d2164622c4
@ -1,12 +1,15 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8" />
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
||||||
<title>wails-svelte-tailwind-ts</title>
|
<title>wails-svelte-tailwind-ts</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script src="./src/main.ts" type="module"></script>
|
<script src="./src/main.ts" type="module"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
</button>
|
</button>
|
||||||
<DarkMode />
|
<DarkMode />
|
||||||
</Navbar>
|
</Navbar>
|
||||||
<main class="size-full max-h-full max-w-full overflow-scroll">
|
<main
|
||||||
|
class="size-full max-h-full max-w-full overflow-y-scroll overflow-x-clip"
|
||||||
|
>
|
||||||
<Route path="/"><Things /></Route>
|
<Route path="/"><Things /></Route>
|
||||||
<Route path="/things/:id" let:params>
|
<Route path="/things/:id" let:params>
|
||||||
<Thing thingID={parseInt(params.id)} />
|
<Thing thingID={parseInt(params.id)} />
|
||||||
|
@ -14,7 +14,24 @@
|
|||||||
*/
|
*/
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
"paths": {
|
||||||
|
"@/*": [
|
||||||
|
"src/*"
|
||||||
|
],
|
||||||
|
"@assets/*": [
|
||||||
|
"src/assets/*"
|
||||||
|
],
|
||||||
|
"@components/*": [
|
||||||
|
"src/components/*"
|
||||||
|
],
|
||||||
|
"@routes/*": [
|
||||||
|
"src/routes/*"
|
||||||
|
],
|
||||||
|
"@wails/*": [
|
||||||
|
"src/wailsjs/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.d.ts",
|
"src/**/*.d.ts",
|
||||||
|
@ -1,7 +1,17 @@
|
|||||||
import {defineConfig} from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import {svelte} from '@sveltejs/vite-plugin-svelte'
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [svelte()]
|
plugins: [svelte()],
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'@': path.resolve(__dirname, './src'),
|
||||||
|
'@assets': path.resolve(__dirname, './src/assets'),
|
||||||
|
'@components': path.resolve(__dirname, './src/components'),
|
||||||
|
'@routes': path.resolve(__dirname, './src/routes'),
|
||||||
|
'@wails': path.resolve(__dirname, './src/wailsjs'),
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user