Comments (2)
I met the same question
from n-club.
在userCard.ejs这个文件下,把<% var userInfo = yield $User.getUserByName(name) %>包含到div里就可以了
from n-club.
Related Issues (20)
- 请问你这个项目的flash是怎么传到ejs里的? HOT 2
- 源码
- 很不错的教程,发现了一个小小的BUG HOT 1
- 如何在路由里引入验证中间件 HOT 1
- 项目有用到redis吗? HOT 1
- 测试的问题
- 你的项目没有用到redis,但是必须启动redis,是什么原因 HOT 1
- refresh session error: Cannot read property 'done' of undefined HOT 2
- 用node --harmony启动之后就一点反应也没有,首页也打不开
- window开发环境下环境变量NODE_ENU不识别 HOT 1
- 用了koa-flash中间件之后页面会出现闪动
- 使用koa的时候报错
- 运行过程中出现问题 HOT 1
- 只能实现部分功能
- co-cache这个模块用到了redis HOT 4
- 直接访问首页没反应 HOT 3
- 关于 routerCacheConf 的配置应该更新下吧
- koa 有什么好的debug技巧吗? HOT 1
- koa-generic-session set error: Cannot read property 'maxAge' of undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n-club.