mirror of
https://github.com/WhoIsFishie/Fishie-Honesty-UI.git
synced 2025-02-22 17:22:14 +00:00
setup commit
This commit is contained in:
parent
d5a430a522
commit
ecfe4ae4ab
1341
myapp/package-lock.json
generated
1341
myapp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,14 +15,20 @@
|
||||
"@playwright/test": "^1.28.1",
|
||||
"@sveltejs/adapter-auto": "^2.0.0",
|
||||
"@sveltejs/kit": "^1.5.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
"postcss": "^8.4.21",
|
||||
"prettier": "^2.8.0",
|
||||
"prettier-plugin-svelte": "^2.8.1",
|
||||
"svelte": "^3.54.0",
|
||||
"tailwindcss": "^3.3.1",
|
||||
"vite": "^4.2.0",
|
||||
"vitest": "^0.25.3"
|
||||
},
|
||||
"type": "module"
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"daisyui": "^2.51.5"
|
||||
}
|
||||
}
|
||||
|
6
myapp/postcss.config.js
Normal file
6
myapp/postcss.config.js
Normal file
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
3
myapp/src/app.css
Normal file
3
myapp/src/app.css
Normal file
@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
5
myapp/src/routes/+layout.svelte
Normal file
5
myapp/src/routes/+layout.svelte
Normal file
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import "../app.css";
|
||||
</script>
|
||||
|
||||
<slot />
|
@ -1,2 +1,10 @@
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
<h1 class= 'text-3xl font-bold underline text-center'>
|
||||
hello world
|
||||
</h1>
|
||||
|
||||
|
||||
<style lang='postcss'>
|
||||
:global(html){
|
||||
background-color: theme('colors.gray.100');
|
||||
}
|
||||
</style>
|
@ -1,4 +1,5 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
@ -7,7 +8,8 @@ const config = {
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
}
|
||||
},
|
||||
preprocess: vitePreprocess()
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
9
myapp/tailwind.config.js
Normal file
9
myapp/tailwind.config.js
Normal file
@ -0,0 +1,9 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [require('daisyui')],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user