Skip to content

Commit 4d6873d

Browse files
committed
Integrate Tailwind CSS properly with CLI build process
- Remove hardcoded Tailwind script from HTML - Add proper Tailwind CLI setup with package.json and config - Create src/input.css with Tailwind directives - Add build scripts for development and production - Update README with development setup instructions - Add generated files to .gitignore - Remove unused tailwindcss.js file
1 parent 94e77eb commit 4d6873d

9 files changed

Lines changed: 1433 additions & 316 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
db.json
22
TODO.md
3-
!public/data/db.json
3+
!public/data/db.json
4+
node_modules/
5+
public/styles.css

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,25 @@ I love [massCode](https://masscode.io/) - it's an amazing code snippet manager t
5252

5353
## 🚀 Quick Start
5454

55+
### Development Setup
56+
57+
If you want to contribute or modify the styles:
58+
59+
1. **Install dependencies**:
60+
```bash
61+
npm install
62+
```
63+
64+
2. **Build CSS for development** (with file watching):
65+
```bash
66+
npm run build-css
67+
```
68+
69+
3. **Build CSS for production**:
70+
```bash
71+
npm run build-css-prod
72+
```
73+
5574
### Finding Your massCode Database
5675

5776
takeCode works by reading your existing massCode `db.json` file. Here's how to locate it:

0 commit comments

Comments
 (0)