UNPKG

umi-plugin-3-mako

Version:

## 安装

52 lines (37 loc) 759 B
# umi@3 plugin for mako ## 安装 ``` npm i umi-plugin-3-mako ``` ## 使用 配置开启 ``` import { defineConfig } from 'umi'; export default defineConfig({ mako: {}, }); ``` ### build ```bash > umi build INFO Using mako@0.7.4 Building with mako for production... dist/umi.css 0.04 kB dist/umi.js 403.76 kB ✓ Built in 571ms Complete! File Size Gzipped dist/umi.js 394.3 KB 93.3 KB dist/umi.css 35.0 B 55.0 B Images and other types of assets omitted. mako build complete ``` ### dev ```bash > umi dev INFO Using mako@0.7.4 Starting the development server... http://localhost:8000 Building with mako for development... ✓ Built in 352ms ```