y1l
make vue ssr easy
Last updated 2 years ago by miyogurt .
MIR · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install y1l 
SYNC missed versions from official npm registry.

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
}

Current Tags

  • 0.1.3                                ...           latest (2 years ago)

4 Versions

  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 3
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |