Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egoist/unvue
🚀 Framework for building universal web app and static website in Vue.js (beta)
https://github.com/egoist/unvue
express http koa server server-rendering universal vue webpack
Last synced: 2 months ago
JSON representation
🚀 Framework for building universal web app and static website in Vue.js (beta)
- Host: GitHub
- URL: https://github.com/egoist/unvue
- Owner: ream
- License: mit
- Archived: true
- Created: 2017-03-19T16:42:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-13T20:06:19.000Z (about 5 years ago)
- Last Synced: 2024-10-29T10:45:18.976Z (3 months ago)
- Topics: express, http, koa, server, server-rendering, universal, vue, webpack
- Language: JavaScript
- Homepage: https://ream.js.org
- Size: 1.27 MB
- Stars: 829
- Watchers: 32
- Forks: 42
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-vue - unvue - 使用简单的通用VueJS应用 (服务端)
- awesome - unvue - 使用简单的通用VueJS应用 (服务端)
- awesome-github-vue - unvue - 使用简单的通用VueJS应用 (服务端)
- awesome-vue - unvue - 使用简单的通用VueJS应用 (服务端)
README
## This project is deprecated in favor of https://vapperjs.org
## Install
```bash
yarn add ream
```## Usage
Unlike a regular Vue SPA, you must export a function which returns an object in your app entry in order to make it work with Ream:
```js
// index.js
import Vue from 'vue'
import Router from 'vue-router'Vue.use(Router)
export default () => ({
router: new Router({
mode: 'history',
routes: [{
path: '/',
// Dynamically load your index component
component: () => import('./index.vue')
}]
})
})
```And that's it, run `ream dev` and have fun playing with your app at `http://localhost:4000`.
## Roadmap
- [ ] Document how to modify internal webpack config.
- [ ] Add proper tests.To make things happen faster, you may consider becoming a patron to support the development:
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**ream** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
Authored and maintained by egoist with help from contributors ([list](https://github.com/ream/ream/contributors)).> [github.com/egoist](https://github.com/egoist) · GitHub [@egoist](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)