webpack-jquery
webpack-jquery copied to clipboard
我想问一下,这样页面数据怎么用ejs动态渲染呢?
demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美!
demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美!
每个组件都是ejs动态渲染data的
这里我知道,我想在pageA.js里请求了数据,在pageA.ejs里实时渲染要怎么做呢?
------------------ 原始邮件 ------------------ 发件人: "jerome han"[email protected]; 发送时间: 2019年5月24日(星期五) 下午3:23 收件人: "jeromehan/webpack-jquery"[email protected]; 抄送: "(11N17G4) 活 动 中 心"[email protected]; "Author"[email protected]; 主题: Re: [jeromehan/webpack-jquery] 我想问一下,这样页面数据怎么用ejs动态渲染呢? (#3)
demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美!
每个组件都是ejs动态渲染data的
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
http://www.zhufengpeixun.com/qianduanjishuziliao/javaScriptzhuanti/2016-07-31/542.html 如这里面的操作
------------------ 原始邮件 ------------------ 发件人: "jerome han"[email protected]; 发送时间: 2019年5月24日(星期五) 下午3:23 收件人: "jeromehan/webpack-jquery"[email protected]; 抄送: "(11N17G4) 活 动 中 心"[email protected]; "Author"[email protected]; 主题: Re: [jeromehan/webpack-jquery] 我想问一下,这样页面数据怎么用ejs动态渲染呢? (#3)
demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美!
每个组件都是ejs动态渲染data的
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
http://www.zhufengpeixun.com/qianduanjishuziliao/javaScriptzhuanti/2016-07-31/542.html 如这里面的操作 … ------------------ 原始邮件 ------------------ 发件人: "jerome han"[email protected]; 发送时间: 2019年5月24日(星期五) 下午3:23 收件人: "jeromehan/webpack-jquery"[email protected]; 抄送: "(11N17G4) 活 动 中 心"[email protected]; "Author"[email protected]; 主题: Re: [jeromehan/webpack-jquery] 我想问一下,这样页面数据怎么用ejs动态渲染呢? (#3) demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美! 每个组件都是ejs动态渲染data的 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
所有数据都放在data.js中进行集中管理的,你可以自己扩展一下,而不是每个页面下单独请求的。
好的 谢了
------------------ 原始邮件 ------------------ 发件人: "jerome han"[email protected]; 发送时间: 2019年5月24日(星期五) 下午3:36 收件人: "jeromehan/webpack-jquery"[email protected]; 抄送: "(11N17G4) 活 动 中 心"[email protected]; "Author"[email protected]; 主题: Re: [jeromehan/webpack-jquery] 我想问一下,这样页面数据怎么用ejs动态渲染呢? (#3)
http://www.zhufengpeixun.com/qianduanjishuziliao/javaScriptzhuanti/2016-07-31/542.html 如这里面的操作 … ------------------ 原始邮件 ------------------ 发件人: "jerome han"[email protected]; 发送时间: 2019年5月24日(星期五) 下午3:23 收件人: "jeromehan/webpack-jquery"[email protected]; 抄送: "(11N17G4) 活 动 中 心"[email protected]; "Author"[email protected]; 主题: Re: [jeromehan/webpack-jquery] 我想问一下,这样页面数据怎么用ejs动态渲染呢? (#3) demo里用了jq插入数据的做法,如果也能用ejs来渲染的话可能比较完美! 每个组件都是ejs动态渲染data的 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
所有数据都放在data.js中进行集中管理的,你可以自己扩展一下,而不是每个页面下单独请求的。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.