This repository contains all of the code for the Watson Industries website.
The stack:
- SvelteKit for the backend+frontend
- TailwindCSS for styling
- DaisyUI for pre-made components and markup
Install dependencies with npm install (or pnpm install or yarn), then start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openThe project follows a typical SvelteKit project structure. Some important notes:
src/libcontains all Svelte components, as well as image assets excluding the faviconsrcshould contain any extra TypeScript modules- all
<script>tags should be with the attributelang="ts"and be written in TypeScript
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
This version deploys automatically to Netlify.
Want to help contribute to the website with content, or just improvements and new stuff? Feel free to open an Issue, a PR if it is something simple and you already know what to do!