ExtJs6第二弹-- 学会查看ExtJs api文档
1、下载api文档
extjs6 pc分为modern和classic两种风格,所以就有两种api文档
所以他们两个的下载地址分别是:
extjs6 modern: http://docs.sencha.com/downloads/extjs-docs-6.0.0-modern.zip
extjs6 classic: http://docs.sencha.com/downloads/extjs-docs-6.0.0-classic.zip。
2、下载nginx for windows
3、配置nginx.conf。我的配置:
#user nobody;
worker_processes 1;#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;#pid logs/nginx.pid;events {worker_connections 1024;
}http {include mime.types;default_type application/octet-stream;#log_format main '$remote_addr - $remote_user [$time_local] "$request" '# '$status $body_bytes_sent "$http_referer" '# '"$http_user_agent" "$http_x_forwarded_for"';#access_log logs/access.log main;sendfile on;#tcp_nopush on;#keepalive_timeout 0;keepalive_timeout 65;#gzip on;server {listen 9999;server_name localhost;#charset koi8-r;#access_log logs/host.access.log main;location / {root G:\extjs6\extjs-docs-6.0.0-classic;index index.html index.htm;}#error_page 404 /404.html;# redirect server error pages to the static page /50x.html#error_page 500 502 503 504 /50x.html;location = /50x.html {root html;}# proxy the PHP scripts to Apache listening on 127.0.0.1:80##location ~ \.php$ {# proxy_pass http://127.0.0.1;#}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000##location ~ \.php$ {# root html;# fastcgi_pass 127.0.0.1:9000;# fastcgi_index index.php;# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;# include fastcgi_params;#}# deny access to .htaccess files, if Apache's document root# concurs with nginx's one##location ~ /\.ht {# deny all;#}}# another virtual host using mix of IP-, name-, and port-based configuration#server {listen 9998;# listen somename:8080;server_name localhost;location / {root G:\extjs6\extjs-docs-6.0.0-modern;index index.html index.htm;}}# HTTPS server##server {# listen 443 ssl;# server_name localhost;# ssl_certificate cert.pem;# ssl_certificate_key cert.key;# ssl_session_cache shared:SSL:1m;# ssl_session_timeout 5m;# ssl_ciphers HIGH:!aNULL:!MD5;# ssl_prefer_server_ciphers on;# location / {# root html;# index index.html index.htm;# }#}}
开启nginx.exe
4、输入url查看文档:
如我上面把classic api设置成localhost:9999,modern api设置成localhost:9998
5、这样子就可以实时的看到每个例子的实时效果。
比如说我们看下Ext.tree.Panel这个组件。
ExtJs6第二弹-- 学会查看ExtJs api文档相关推荐
- 查看Android API文档的正确方式
AS中简单查看API 在AS中我们可以简单查看函数或类的API,选中我们想要查看的函数或类的代码,按快捷键 Ctrl+Q,AS就会弹出一个简单说明的窗口: 但一般我们的是这样: 那是因为AS去访问Go ...
- 如何查看Android API文档
作为Android开发工程师,不管是APP开发还是系统开发,免不了要各种百度 google.但对一个专业程序猿来说,最靠谱的方式还是要查看google官方的API文档. 但这个文档在哪里,应该 ...
- 弹出窗口lhgDialog API文档
如果您使用独立版本的lhgDialog窗口组件,您只需在页面head中引入lhgcore.lhgdialog.min.js文件,4.1.1+版本做了修改可以和jQuerya库同时引用,而且4.1.1+ ...
- (转)弹出窗口lhgDialog API文档
应用到你的项目 如果您使用独立版本的lhgDialog窗口组件,您只需在页面head中引入lhgcore.lhgdialog.min.js文件,4.1.1+版本做了修改可以和jQuerya库同时引用, ...
- 看ExtJs API文档的阅读方法
对EXT,下载一个ext2.0的API文件,叫你如何看懂API,看完保证就会用API,但是你必须看完. Config Options Public Properties Public Methods ...
- 第十二节:WebApi自动生成在线Api文档的两种方式
一. WebApi自带生成api文档 1. 说明 通过观察,发现WebApi项目中Area文件夹下有一个HelpPage文件夹,如下图,该文件夹就是WebApi自带的生成Api的方式,如果该文件夹没了 ...
- Python的API文档
问题描述:查看Python的API文档 解决方案: 查看python API文档的命令是:python -m pydoc -p xxxx(4位端口号,任意) 具体操作: 1.win+r 输入cmd 打 ...
- 使用Android Studio的时候如何查看开发文档,API文档,doc文档,SDK文档
有的时候,我们在Android开发中需要查看需要的一些类或包里面有什么方法,返回值,调用关系和继承关系等等.这个时候我们就可以使用SDK软件开发工具中的其中之一--API文档,来查一下. 那么,下面就 ...
- 如何查看jsplumb.js的API文档(YUIdoc的基本使用)#华为云·寻找黑马程序员#
[摘要] 介绍前端文档工具YUIdoc 示例代码托管在:http://www.github.com/dashnowords/blogs 一.问题描述 最近向一些同事推荐了网页中实现流程图绘制的工具库j ...
- ExtJS各个版本官方API文档
ExtJS各个版本官方API文档 官方API地址:https://docs.sencha.com/extjs/6.7.0/index.html 版本切换方式: 官方文档为纯英文文档,需要中文版的朋友可 ...
最新文章
- JS栈结构的简单封装
- 什么是图数据库?图数据库实践与创新浅析
- Jetty服务器jmx监控
- hdu 5131 (2014广州现场赛 E题)
- 一阶电路暂态响应的结果分析。_反激式DCDC变换器的分析、计算与仿真精讲
- zigbee 空中消息溯源
- 周期信号的傅里叶级数表示
- linux 脚本 DIST,shell 脚本判断linux 的发行版本
- fatal error LNK1169: 找到一个或多个多重定义的符号 的解决方案
- m个苹果放入n个盘子问题
- P4381 [IOI2008]Island
- mui 头部横向滚动菜单
- android七牛云存储,Android上传图片到七牛云
- 《编码规范和测试方法——C/C++版》作业 ·005——设计一组员工类
- SQL:pgsql中查询一段时间内数据及相关时间操作
- 关于Mysql group_concat的应用(把相同ID的VAL用字符'/'连接起来)
- Atiti. Php Laravel 5.1 环境搭建以及 error 排除
- 海德汉伺服驱动器电源维修UVR150D北京
- Configured
- 浏览器被hao360,hao123,2345,搜狗,www.xie116.xyz/ 劫持的方法
热门文章
- Spring学习笔记(四)--spring配置文件schema约束
- httprunner 3.x学习2 - 测试用例结构(testcase)
- 文件被占用?系统自带的“资源监视器(resmon)”也能帮你找到占用它的真凶
- jovi五子棋下载_五子棋终结者
- magisk卸载内置软件_GJ2x_免root搞机工具箱V6.71 更新:增加卸载内置功能
- linux推流软件推荐,Linux直播推流
- 开源离线语音识别(SpeechRecognition)
- SSM框架整合+案例
- web前端开发基础入门教程之HTML5 浏览器支持
- 易辅客栈 从零学辅助_如何从零启动辅助项目