Skip to content

Commit c3bb1ac

Browse files
covert configs to commonjs, attempting custom wrapper component
1 parent 275a51e commit c3bb1ac

8 files changed

+714
-2
lines changed

index.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Vite + Lit + TS</title>
88
<link rel="stylesheet" href="./src/index.css" />
9+
<link rel="stylesheet" href="./src/tailwind.global.css" />
910
<script type="module" src="/src/my-element.ts"></script>
11+
<script type="module" src="/src/components/app-container.ts"></script>
1012
</head>
1113
<body>
12-
<my-element>
14+
<!-- <my-element>
1315
<h1>Vite + Lit</h1>
14-
</my-element>
16+
</my-element> -->
17+
<app-container></app-container>
1518
</body>
1619
</html>

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12+
"autoprefixer": "^10.4.14",
13+
"cssnano": "^6.0.1",
1214
"lit": "^2.7.6",
15+
"postcss": "^8.4.27",
16+
"postcss-import": "^15.1.0",
17+
"prettier": "^3.0.0",
18+
"prettier-plugin-tailwindcss": "^0.4.1",
1319
"tailwindcss": "^3.3.3"
1420
},
1521
"devDependencies": {

0 commit comments

Comments
 (0)