Skip to content

Commit

Permalink
feat: #1 前端css框架采用stylus
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 1, 2023
1 parent f16c6f2 commit 7cefde8
Show file tree
Hide file tree
Showing 42 changed files with 415 additions and 2,661 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
</head>
<body>
<div id="root"></div>
<script src="/src/blog.tsx" type="module"></script>
<script src="/src/apps/blog/blog.tsx" type="module"></script>
</body>
</html>
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"scripts": {
"dev": "vite",
"watch": "tsc && vite build -c vite.cjs.config.ts --outDir dist-cjs --watch",
"watch:css": "stylus -r -w theme.styl -o theme.css",
"watch:js": "tsc && vite build -c vite.cjs.config.ts --outDir dist-cjs --watch",
"build": "pnpm build:cjs && pnpm build:esm",
"build:cjs": "tsc && vite build -c vite.cjs.config.ts --outDir dist-cjs",
"build:esm": "tsc && vite build",
Expand All @@ -22,7 +23,7 @@
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react-swc": "^3.0.0",
"prettier": "^2.8.4",
"sass": "^1.58.3",
"stylus": "^0.59.0",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vitest": "^0.28.5"
Expand Down
Loading

0 comments on commit 7cefde8

Please sign in to comment.