Welcome to the SPA Template! This project is designed for quick and easy SPA development, using a powerful tech stack:
- 📝 Vanilla TypeScript for clean, type-safe code.
- ⚡ Vite for a super-fast dev environment.
- 🎨 Tailwind CSS for customizable styling with utility classes.
- 🌿 Alpine.js for minimal, reactive functionality.
- 🔗 Axios for API requests.
- 🌐 Nano Stores for lightweight state management.
- 🌗 Dark Mode with built-in toggling logic.
- 🔐 Authentication & Authorization pre-configured!
- TypeScript for type safety 🛡️
- Vite for fast builds and hot module replacement 🔥
- Tailwind CSS for rapid, responsive UI design 🎨
- Alpine.js for reactivity and interactivity ⚡
- Axios for handling API requests smoothly 🌐
- Nano Stores for efficient state management 🧠
- Dark Mode toggle feature 🌑/🌞
- Authentication & Authorization out of the box 🔑
Before you start, make sure you have:
- 📦 Node.js (>= 16.x)
- 📦 npm (>= 7.x) or yarn
-
Clone this repo:
git clone https://github.com/abaworks/vanilla_spa cd spa-template
-
Install dependencies:
npm install
or using yarn:
yarn install
Start the Vite development server:
npm run dev
or
yarn dev
Open the app at http://localhost:3000 🌐 and start building!
To generate the production build:
npm run build
or
yarn build
Your files will be generated in the dist
folder 📂, ready for deployment.
(Add links or information about project documentation here)
We welcome contributions! Please see our Contributing Guidelines for more details.
This project is licensed under the MIT License.
Happy coding! 🎉