Skip to content

Commit

Permalink
feat: Add next login page with shadcn/ui #3221 (#3231)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

feat: Add next login page with shadcn/ui  #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
  • Loading branch information
cike8899 authored Nov 6, 2024
1 parent af74bf0 commit 601a128
Show file tree
Hide file tree
Showing 26 changed files with 3,434 additions and 95 deletions.
7 changes: 6 additions & 1 deletion web/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export default defineConfig({
history: {
type: 'browser',
},
plugins: ['@react-dev-inspector/umi4-plugin'],
plugins: [
'@react-dev-inspector/umi4-plugin',
'@umijs/plugins/dist/tailwindcss',
],
jsMinifier: 'terser',
lessLoader: {
modifyVars: {
Expand All @@ -38,9 +41,11 @@ export default defineConfig({
// pathRewrite: { '^/v1': '/v1' },
},
],

chainWebpack(memo, args) {
memo.module.rule('markdown').test(/\.md$/).type('asset/source');

return memo;
},
tailwindcss: {},
});
Loading

0 comments on commit 601a128

Please sign in to comment.