Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【外置组件】page 分页的使用技巧与问题 #28

Open
guguaihaha opened this issue Jan 17, 2019 · 2 comments
Open

【外置组件】page 分页的使用技巧与问题 #28

guguaihaha opened this issue Jan 17, 2019 · 2 comments

Comments

@guguaihaha
Copy link
Collaborator

欢迎留言

@shimuhong
Copy link

您好,使用的时候发现page对象是拿不到的,样式也没有出来,除了nv本身的cdn之外,还需要引其他CDN吗

@Nv-js
Copy link
Owner

Nv-js commented Dec 11, 2019

您好,使用的时候发现page对象是拿不到的,样式也没有出来,除了nv本身的cdn之外,还需要引其他CDN吗

目前不需要,资源全部放在CDN上,只需要在使用的时候引入即可。比如

Nv.use("page",function(nv,page){
   page.init(options)
})

or

Nv.add("./demo/path",function(nv,page){
   page.init(options)
    return{}
},{requires:["page"]})

文档这块会再完善,有问题请留言

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants