• Stars
    star
    1,362
  • Rank 34,505 (Top 0.7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Egg Vue Server Side Render (SSR) / Client Side Render (CSR)

egg-vue-webpack-boilerplate

基于 Egg + Vue + Webpack SSR 服务端渲染和 CSR 前端渲染工程骨架项目,包括前台系统(SSR MPA)和后台管理系统(SSR SPA)。

文档

https://www.yuque.com/easy-team/egg-vue

系统功能

前台博客系统 http://localhost:7001

采用 Egg + Vue 服务端渲染

  • 博客首页
  • 文章列表
  • 文章详情

后台管理系统 http://localhost:7001/admin

采用 Egg + Vue + Vue-Router + Element 单页面服务端同构渲染

  • Dashboard
  • Markdown
  • 文章管理

骨架模板

以上项目,你可以通过 easywebpack-cli 初始化。

特性

  • 支持服务端渲染SSR(Server Side Render), 前端渲染CSR(Client Side Render) 方式

  • 支持 Node 和 前端代码修改, Webpack 自动编译和热更新, npm run dev 一键启动应用

  • 基于 vue + axios 多页面服务端渲染, 客户端渲染同构实现, 支持 asyncData 渲染

  • 基于 vue + vuex + vue-router + axios 单页面服务器客户端同构实现

  • 支持 js/css/image 资源依赖, 内置支持 CDN 特性, 支持 css/sass/less 样式编写

  • 支持根据 .vue 文件自动创建 Webpack Entry 入口文件

  • 开始支持多进程和缓存编译, 支持 Webpack dll 自动化构建, 与多进程编译结合,构建速度减少 2/3

  • 支持 Vue 组件 import 异步加载, 具体实例请看app/web/page/dynamic

  • 支持服务端渲染(SSR)失败时,自动降级为前端渲染(CSR)模式

  • 提供 国际化 i18n 多语言支持方案

文档

插件

运行

npm run boot
npm run dev

cd packages/egg-react-webpack-boilerplate
npm install
npm run dev

交流

功能性需求或者Bug问题, 欢迎大家 PR 完善, 如果你需要了解更多信息,请加 QQ 群: 433207205 (备注:easyjs)

Contributors

Thanks goes to these wonderful people (emoji key):


sky

💻 📖

jasonjcpeng

💻 📖

Kevin Zhong

💻 📖

HiuYanChong

💻 📖

Suyi

💻 📖

Roy Li

💻 📖

吖猩

💻

Peng Gao

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

More Repositories

1

egg-react-webpack-boilerplate

Egg React Server Side Render(SSR) / Client Sider Render(CSR)
JavaScript
671
star
2

easywebpack

A Simple, Powerful Webpack Front-End Development Solution
JavaScript
480
star
3

easywebpack-cli

A Powerful Cross-platform Webpack CLI Tool
JavaScript
122
star
4

egg-view-vue-ssr

Egg Vue Server Side Render (SSR) Plugin
JavaScript
95
star
5

egg-vue-typescript-boilerplate

Egg Vue TypeScript Server Side Render (SSR) / Client Side Render (CSR)
TypeScript
72
star
6

egg-webpack

Egg Webpack Dev Server Plugin, Support Memory File and Hot-Reload
JavaScript
68
star
7

egg-view-react-ssr

Egg React Server Side Render (SSR) Plugin
JavaScript
62
star
8

egg-react-typescript-boilerplate

Egg React TypeScript Server Side Render (SSR) / Client Side Render (CSR)
TypeScript
56
star
9

vscode-web-ide

VSCode Web IDE
JavaScript
44
star
10

easywebpack-vue

Vue Webpack Building Solution, Support Vue Server Side Render (SSR), Client Side Render (CSR) Building
JavaScript
29
star
11

ves

Vue SSR(Server Side Render) Web Framework for Egg
JavaScript
22
star
12

easywebpack-react

React Webpack Building Solution, Support React Server Side Render (SSR), Client Side Render (CSR) Building
JavaScript
14
star
13

easywebpack-multiple-html-boilerplate

HTML静态多页面Webpack构建工程化解决方案骨架
JavaScript
13
star
14

webpack-tool

Webpack Build Tool, Support Webpack Build Ui View.
JavaScript
13
star
15

ves-admin

Egg Vue TypeScript SSR (Server Side Render) Example for Ves Node Framework
TypeScript
13
star
16

easywebpack-weex

A Simple Weex + Vue + Webpack Build Solution
JavaScript
7
star
17

egg-webpack-vue

Vue Server-Side Rendering Webpack Memory Compilation Plugin for Egg
JavaScript
7
star
18

easywebpack-html

HTML静态多页面Webpack构建工程化解决方案
JavaScript
7
star
19

awesome

easyj examples, include react, vue, typescript, webpack demos
JavaScript
6
star
20

easyjs

easyjs 专注 Egg, 前端工程, 多端技术等领域,涉及 Egg Vue SSR 服务端渲染,Egg React SSR 服务端渲染, Webpack 前端工程化,Serverless, Flutter等技术学习和实践。期望通过工程体系方式来实现整个大前端工程体系的建设, 让前端开发效率能够得到显著提升!
6
star
21

easy-team.github.io

https://easyjs.cn - easyjs 专注 Egg, 前端工程, 多端技术等领域,涉及 Egg Vue SSR服务端渲染,Egg React SSR服务端渲染, Webpack 前端工程化,Serverless, Flutter等技术学习和实践。期望通过工程体系方式来实现整个大前端工程体系的建设, 让前端开发不再繁琐, 效率也能够得到显著提升!
HTML
5
star
22

vue-entry-loader

Vue Entry Template Initialization Code for easywebapck
JavaScript
5
star
23

egg-webpack-react

React Server-Side Rendering Webpack Memory Compilation Plugin for Egg
JavaScript
4
star
24

node-tool-utils

Node Cross-Platform Tool Library
JavaScript
3
star
25

res

React SSR (Server Side Render ) Node Web Framework for Egg
JavaScript
3
star
26

react-entry-template-loader

React Entry Template Loader for easywebapck
JavaScript
3
star
27

ves-cli

Vue SSR Framework CLI
JavaScript
2
star
28

vue-slider-gif-maker

Vue体系下的,拖拽截图生成gif的vue组件
Vue
2
star
29

easywebpack-js

Webpack Javascript Lib Building
JavaScript
2
star
30

easywebpack-weex-boilerplate

weex native and web building project boilerplate for easywebpack-weex
JavaScript
2
star
31

res-cli

React Server Side Render(SSR) - Res Framework Command CLI
JavaScript
2
star
32

egg-render-service

Node Render Service
JavaScript
2
star
33

puppeteer-html-prerender-webpack-plugin

Puppeteer 预渲染实现前端渲染页面 SSR 渲染
JavaScript
2
star
34

render-package-build

Vue/React Render Service Package Build Script
JavaScript
1
star
35

res-awesome

Node React Web Awesome for Res Server Side Render Framework
TypeScript
1
star
36

npm-package-template

NPM package template, It's easy for you to implement a NPM package
JavaScript
1
star
37

webpack-hot-css-entry

Webpack Css Hot Reload
JavaScript
1
star
38

egg-webpack-rax

Rax SSR Webpack Memory Development Plugin for Egg
JavaScript
1
star
39

vscode-easy-plugin

easyjs vscode plugin
JavaScript
1
star