feat:组件框架
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
import { defineConfig } from 'dumi'
|
||||
import { resolve } from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
themeConfig: {
|
||||
name: 'Nova',
|
||||
logo: false,
|
||||
nav: [
|
||||
{ title: '指南', link: '/guide' },
|
||||
{ title: '组件', link: '/components' },
|
||||
],
|
||||
socialLinks: {
|
||||
github: 'https://github.com/user/novaui',
|
||||
},
|
||||
},
|
||||
apiParser: {},
|
||||
resolve: {
|
||||
docDirs: ['docs'],
|
||||
entryFile: './src/index.ts',
|
||||
atomDirs: [
|
||||
{ type: 'component', dir: 'src/components' },
|
||||
],
|
||||
},
|
||||
alias: {
|
||||
'@nova/ui': resolve(__dirname, 'src'),
|
||||
},
|
||||
outputPath: 'dist-docs',
|
||||
})
|
||||
Reference in New Issue
Block a user