示例工程 15-tailwind-css-and-design-tokens

15-tailwind-css-and-design-tokens/demo-01-vite-tailwind/src/main.ts

typescript · 0.2 KB

import "./style.css";

const root = document.getElementById("app");
if (root) {
  root.innerHTML = `<button class="rounded-card bg-primary px-4 py-2 text-white">按钮</button>`;
}