Giter Site home page Giter Site logo

easy-team / ves Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 5.0 122 KB

Vue SSR(Server Side Render) Web Framework for Egg

Home Page: https://easyjs.cn/ves

JavaScript 94.25% HTML 5.75%
vue server-side-rendering node-framework isomorphic-rendering eggjs webpack isomorphic typescript vue-server-side vue-server-renderer

ves's Introduction

ves

NPM version build status Test coverage David deps Known Vulnerabilities npm download

A Powerful, Simple Vue Node Isomorphic Framework, Front-End and Node of The Application are Written in TypeScript! Everything is Simple!

You don't need to care about Vue server-side rendering implementation details and the Webpack + Babel + TypeScript build process. You just need to write Vue isomorphic applications just like you would write a Vue front-end application.

Installation

$ npm install ves --save

Node.js >= 8.0.0 required.

Features

  • ✔︎ Based on Egg Framework, Powerful, Easy to Expand
  • ✔︎ Support Vue Server Side Render and Client Side Render Modes, Rendering Cache, Automatic Downgrade,
  • ✔︎ Front-End and Node of The Application are Written in TypeScript
  • ✔︎ Build with Webpack + TypeScript, Auto Building, Hot Reload, Code Splitting, High Speed, Performance Optimization
  • ✔︎ Powerful Tool Chain ves-cli

Document

QuickStart

$ npm install -g ves-cli
$ ves init
$ npm install
$ npm run dev
$ open http://localhost:7001

Examples

See ves-amdin

Links

License

MIT

ves's People

Contributors

hubcarl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ves's Issues

ves 和 egg-vue 的差异是什么

看了官网,想了解下和隔壁Egg-vue的差异是什么呢,什么时候适用ves。
看文档都是基于Egg+Vue 支持SSR和CSR都支持TS,JS。
想了解下他们的差异,以及适用情况,谢谢

如何创建多页面应用?

ves init第一步选择create ves multil page application,创建出来的结构:

? please choose the boilerplate mode? create ves multil page application
? Please input project name: test1
? Please input project description: test1
? Please choose css style: css
? Please choose the way to install dependency: none
[easywebpack-cli]:query npm info of ves-blog
[easywebpack-cli]:downloading https://registry.npmjs.org/ves-blog/-/ves-blog-0.0.1.tgz
[easywebpack-cli]:extract to /var/folders/v3/qpxzpw_54t3cstcdz91h7py00000gn/T/easywebpack-cli-init
[easywebpack-cli]:init test1 project successfully!

[easywebpack-cli]:Now, start coding by follow step:
1) cd test1
2) npm install or yarn install
3) npm run dev or npm start
drwxr-xr-x  11 lfh  staff   352B  1 11 17:10 .
drwxr-xr-x  18 lfh  staff   576B  1 11 17:10 ..
-rw-r--r--   1 lfh  staff    98B  1 11 17:10 .eslintignore
-rw-r--r--   1 lfh  staff   932B  1 11 17:10 .eslintrc
-rw-r--r--   1 lfh  staff   104B  1 11 17:10 .gitattributes
-rw-r--r--   1 lfh  staff   114B  1 11 17:10 .travis.yml
-rw-r--r--   1 lfh  staff    50B  1 11 17:10 README.md
-rw-r--r--   1 lfh  staff    49B  1 11 17:10 index.js
drwxr-xr-x   3 lfh  staff    96B  1 11 17:10 lib
-rw-r--r--   1 lfh  staff   1.4K  1 11 17:10 package.json
drwxr-xr-x   3 lfh  staff    96B  1 11 17:10 test

是否目前还不支持创建多页面应用?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.