Massive refactor: integrate Tailwind, use components, data-driven lists
This is the result of many, many hours sat at my keyboard trying different things, most of which failing. Figuring out how to install Tailwind in this setup was a real adventure with all of the resources online pulling me in two different ways. Documentation is hard. I definitely do prefer having the codebase use the tools available more, instead of the old simple web dev stuff I'm used to. We're using what's available through Svelte a lot more now. I think that these changes will make the codebase easier to work in, with the architecture being more familiar to regular web developers, and these changes should also reduce friction when adding new content, which is the main goal. I'll never get this time back though, and I'm still slightly contemplating whether it was really worth it.
This commit is contained in:
@ -6,6 +6,12 @@ const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
alias: {
|
||||
blocks: "src/blocks",
|
||||
components: "src/components",
|
||||
script: "src/script",
|
||||
style: "src/style",
|
||||
},
|
||||
},
|
||||
compilerOptions: {
|
||||
runes: true,
|
||||
|
Reference in New Issue
Block a user