lavas-core
lavas core
Last updated 2 years ago by panyuqi .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lavas-core 
SYNC missed versions from official npm registry.

lavas-core

npm version Build Status

NPM

Lavas 运行核心部分,执行以下步骤:

  1. 读取配置,校验部分属性类型正确性
  2. 根据文件结构和用户配置生成路由文件
  3. 生成 manifest 和 bundle 文件,开发模式放在内存文件系统中
  4. 开发模式下添加 webpack-dev-middleware 和 hot-middleware

开发模式下所有页面请求由服务端渲染。生产模式中针对配置了预渲染的页面,生成 html 并注入对应的 skeleton,这部分页面请求不经过服务端渲染,直接返回页面。

运行测试用例

koa 要求 Node 7+,所以测试用例也运行在这个版本之上

npm run test

TODO

  1. 生成嵌套路由 childRoutes
  2. 中间件

Current Tags

  • 0.0.35                                ...           latest (2 years ago)
  • 0.0.24                                ...           webpack2 (2 years ago)
  • 1.0.15                                ...           webpack3 (2 years ago)

40 Versions

  • 0.0.35                                ...           2 years ago
  • 0.0.33                                ...           2 years ago
  • 0.0.32                                ...           2 years ago
  • 0.0.31                                ...           2 years ago
  • 0.0.30                                ...           2 years ago
  • 0.0.29                                ...           2 years ago
  • 0.0.28                                ...           2 years ago
  • 0.0.27                                ...           2 years ago
  • 0.0.26                                ...           2 years ago
  • 0.0.25                                ...           2 years ago
  • 0.0.24                                ...           2 years ago
  • 0.0.23                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependents (2)

Copyright 2014 - 2016 © taobao.org |