Skip to content

Commit a8fa0d6

Browse files
committed
chore: add plugin
1 parent cd55390 commit a8fa0d6

File tree

8 files changed

+667
-1
lines changed

8 files changed

+667
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# the-lemonboy-tailwindcss-px-to-viewport
2-
# tailwindcss-px-to-viewport
2+
33
# tailwindcss-px-to-viewport

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7+
"playCss": "npx tailwindcss -i ./playground/input.css -o ./playground/output.css",
78
"test": "echo \"Error: no test specified\" && exit 1"
89
},
910
"keywords": [],

playground/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
<link rel="stylesheet" href="output.css">
8+
</head>
9+
<body>
10+
<div class="h-16 w-16 bg-slate-400">
11+
div
12+
</div>
13+
</body>
14+
</html>

playground/input.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

0 commit comments

Comments
 (0)