eggjs / egg

🥚 Born to build better enterprise frameworks and apps with Node.js & Koa
https://eggjs.org
MIT License
18.87k stars 1.81k forks source link

使用egg-view-vue直接报错 #768

Closed Paul88 closed 7 years ago

Paul88 commented 7 years ago

官方的使用: // {app_root}/config/plugin.js exports.view-vue = { enable: true, package: 'egg-view-vue', };

但结果直接报错,开始也觉得有这种“view-vue”的变量,结果一跑果然出错了,蛋疼!!

dead-horse commented 7 years ago

这个模块还有问题, @atian25 还没改完吧

atian25 commented 7 years ago

@hubcarl 那边正在开发中

acodercat commented 7 years ago

exports['view-vue'] = {

};

atian25 commented 7 years ago

那边已经开发完了,等这几天我找时间 review 下合并发版本

xjchenhao commented 7 years ago

@atian25 egg-view-vue还不能发布使用吗

ZQun commented 7 years ago

egg-view-vue 上线了吗? @atian25

atian25 commented 7 years ago

还没,我本周内找时间搞搞。

callmesoul commented 7 years ago

同求啊!!都等了很久了。 @atian25

atian25 commented 7 years ago

https://github.com/eggjs/egg-view-vue/pull/4

atian25 commented 7 years ago

已经发布 1.0.0,久等了,各位可以试用下。

但仅仅是 vue 的服务端渲染,实际业务一般是需要和 webpack 配合的,那块 @hubcarl 正在搞。

acodercat commented 7 years ago

nice!辛苦

xjchenhao commented 7 years ago

辛苦🙏🏻

SteveCruise commented 7 years ago

我想要vue spa的,仅仅进行数据通信,靠post

atian25 commented 7 years ago

那你不需要用这个插件啊,直接放到 public

发自我的 iPhone

在 2017年8月23日,16:52,SteveCruise notifications@github.com 写道:

我想要vue spa的,仅仅进行数据通信,靠post

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

hubcarl commented 7 years ago

egg + vue + webpack server side render: https://github.com/hubcarl/egg-vue-webpack-boilerplate