1.4.0 • Published 9 months ago

@chapanda/style-preset-interactive v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@chapanda/style-preset-interactive

基于中心规范基础的样式预设库交互式文档.

使用

vite

// vite.config.ts
import {defineConfig } from 'vite'
import solid from 'vite-plugin-solid'

import { vitePresetDocs } from "@chapanda/style-preset-interactive";

export default defineConfig({
  plugins: [
    solid(),
    vitePresetDocs(),
  ],
  resolve: {
    alias: {},
  },
})

webpack

const { webpackPresetDocs } = require("../node_modules/@chapanda/style-preset-interactive/index");

module.exports = {
  // ...
  devServer: {
    // ...
    setupMiddlewares: (middlewares, devServer) => {
      middlewares = webpackPresetDocs(middlewares, devServer)
      return middlewares
    },
  },
}
1.4.0

9 months ago

1.3.1

9 months ago

1.3.0

10 months ago

1.2.4

10 months ago

1.2.4-beta.5

10 months ago

1.2.4-beta.4

10 months ago

1.2.4-beta.3

10 months ago

1.2.4-beta.2

10 months ago

1.2.4-beta.1

10 months ago

1.2.3

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago