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

### 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)
This commit is contained in:
balibabu
2024-11-06 11:13:04 +08:00
committed by GitHub
parent af74bf01c0
commit 601a128cd3
26 changed files with 3376 additions and 37 deletions

View File

@@ -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: {
@@ -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: {},
});