Nerds Publishing Monstrosities

    y1l
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.3 • Public • Published

    y1l

    让 Vue SSR 更加简单,vue-hackernews 的例子请看我的 y1l-example 仓库, 视频教程请看 视频

    从 vue-hackernews 提取出来的一些公共代码。

    支持的配置项

    export interface Config {
        port?: number;
        projectPath?: string;
        status404?: string;
        status500?: string;
        template?: string; // html 模板的位置
        context?: object; // 模板里面可以访问的值
        handleError?: Function;
        webpackConfig?: {
            base: object;
            client: object;
            server: object;
        };
        serviceWorkerConfig?: object; 
        faviconURL?: string; // 图标的地址 如 ./public/logo-48.png
    }

    Keywords

    Install

    npm i y1l

    DownloadsWeekly Downloads

    0

    Version

    0.1.3

    License

    MIR

    Last publish

    Collaborators

    • avatar