Git Product home page Git Product logo

dumi-theme-chakra's Issues

bug: `outputPath` config seems doesn't work

版本

  • dumi-theme-chakra: current latest —— v0.0.11
  • dumi: v2.1.13
  • node: v16.16.0
  • npm: v8.11.0
  • OS: macOS 13.2.1
  • Browser: Edge latest

复现步骤

  1. git clone https://github.com/innocces/dumi-theme-chakra.git
  2. Add outputPath: 'dist-doc', config to example/.dumirc.ts, for more detail: https://d.umijs.org/config#outputpath
  3. Run pnpm run build

你期望的现象?

The static assets should output to dist-doc directory

现有的现象?

The static assets actually output to dist directory
可能还有其他的 dumi 官方支持的配置项在该主题里面不被支持?麻烦检查一下,谢谢哈

复现 repo(最好可以提供一个复现的 repo)

https://github.com/innocces/dumi-theme-chakra.git

window系统主题里面,加这个就报错。

Question

企业微信截图_16890549061324

Sample Code

import { defineConfig } from 'dumi';
import { defineThemeConfig, baseTheme } from 'dumi-theme-chakra';

export default defineConfig({
  devtool: 'cheap-module-source-map',
  themeConfig: {
    // https://github.com/umijs/dumi/issues/1655
    nprogress: false,
    name: '文档',
    logo: '/logo.png',
    ...defineThemeConfig({
      helmetIcon: '🍺',
      settingPanelVisible: true,
      thumbBackground: true,
      brand: baseTheme.colors.teal,
      hero: {
        showVersionBadge: true,
      },
    }),
    footer: `Copyright © ${new Date().getFullYear()} `,
  },
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.