随笔分类 -  web

上一页 1 2 3 4 5 6 7 ··· 10 下一页

inertia 服务端驱动的spa 开发框架
摘要:inertia 可以让我们开发server 驱动的单页面应用开发,从目前的github代码来看,代码量并不多,相关的文档也还比较少 introducing-inertia-js 这个连接值得看下 参考资料 https://reinink.ca/articles/introducing-inertia 阅读全文

posted @ 2019-05-19 11:22 荣锋亮 阅读(450) 评论(0) 推荐(0) 编辑

简单 babel plugin 开发-使用lerna 工具
摘要:babel在现在的web 应用开发上具有很重要的作用,帮助我们做了好多事情,同时又有 比较多的babel plugin 可以解决我们实际开发上的问题。 以下只是学习下如果编写一个简单的babel plugin,项目使用lerna 进行代码包管理 插件开发模型 项目准备 lerna 项目初始化 ler 阅读全文

posted @ 2019-02-15 10:50 荣锋亮 阅读(844) 评论(0) 推荐(0) 编辑

immutable-styles 基本试用
摘要:此文档来自官方文档,从官方demo 学起比较快 安装 官方推荐的是通过webpack 的构建方式,通过babel loader clone 代码 git clone https://github.com/callum-hart/immutable-styles-tutorial.git 安装依赖 y 阅读全文

posted @ 2019-02-14 10:48 荣锋亮 阅读(254) 评论(0) 推荐(0) 编辑

CSS Overrides: Friend or Foe?
摘要:转自:http://www.callumhart.com/blog/css-overrides-friend-or-foe Anyone familiar with CSS will know how fragile it can be. Changes to CSS must be made ca 阅读全文

posted @ 2019-02-13 09:41 荣锋亮 阅读(290) 评论(0) 推荐(0) 编辑

Rendering on the Web
摘要:转自: https://developers.google.com/web/updates/2019/02/rendering-on-the-web Rendering on the Web Google Developers Web Updates02-06 23:52 As developers 阅读全文

posted @ 2019-02-07 09:55 荣锋亮 阅读(296) 评论(0) 推荐(0) 编辑

openresty 一些可选的模板引擎
摘要:以下为一些 openresty 可选的模板引擎,方便使用 lemplate (https://github.com/openresty/lemplate) lua-resty-tags (https://github.com/bungle/lua-resty-tags) lua-resty-hoed 阅读全文

posted @ 2019-01-24 09:47 荣锋亮 阅读(1150) 评论(0) 推荐(0) 编辑

fusionjs uber开源的通用web插件化开发框架
摘要:fusionjs uber开源的web 插件化开发框架 核心特性: 基于插件的开发,依赖注入开发 开箱即用的服务器端渲染,构建结果拆分,模块热加载 Tree-shaking 支持 集成的插件 redux react router rpc 模式的数据访问,同时支持graphql 安全,自动添加csrf 阅读全文

posted @ 2018-08-02 12:35 荣锋亮 阅读(1089) 评论(0) 推荐(0) 编辑

使用rollup 开发专业js library
摘要:rollup 是一个不错的javascript 模块打包器,一般我们用来构建library 安装 npm install -g rollup 参考集成jquey && shortid 的library 使用es6 语法 项目结构 ├── index.html ├── package.json ├── 阅读全文

posted @ 2018-08-01 09:39 荣锋亮 阅读(892) 评论(0) 推荐(0) 编辑

flow flow-typed 定义简单demo
摘要:flow-typed 安装 全局 npm install -g flow-typed 测试代码 一个简单全局函数 目录根目录 flow-typed 目录根目录 flow-typed userLibDef.js declare function userlogin(a: number): string 阅读全文

posted @ 2018-07-28 09:18 荣锋亮 阅读(231) 评论(0) 推荐(0) 编辑

flow 编写flow-typed 定义(官方文档)
摘要:此为官方文档,因为墙的问题,记录下来: Before spending the time to write your own libdef, we recommend that you look to see if there is already a libdef for the third-pa 阅读全文

posted @ 2018-07-28 09:17 荣锋亮 阅读(519) 评论(0) 推荐(0) 编辑

flow 类型生成工具 flow-typed 简单使用
摘要:flow 是一个javascript 的静态检查工具,flow-typed 为我们提供了三方类似type 的生成 安装flow-typed 使用全局安装 yarn global add flow-typed npm install -g flow-typed 参考demo 项目结构 ├── lib 阅读全文

posted @ 2018-07-28 08:37 荣锋亮 阅读(740) 评论(0) 推荐(0) 编辑

fackbook flow 简单使用
摘要:flow 是一个javascript 静态检查的工具,由facebook 开发, 使用起来简单,方便。 安装 项目初始化 yarn init -y 编译器安装 yarn add --dev babel-cli babel-preset-flow 配置babel .babelrc { "presets 阅读全文

posted @ 2018-07-28 08:20 荣锋亮 阅读(440) 评论(0) 推荐(0) 编辑

lerna基本试用
摘要:安装 yarn global add lerna or npm install -g lerna 基本项目 初始化 git init platform cd platform lerna init 效果如下: ├── lerna.json ├── package.json └── packages 阅读全文

posted @ 2018-07-06 10:23 荣锋亮 阅读(798) 评论(0) 推荐(0) 编辑

deno学习一 安装试用&&几个问题解决
摘要:基本的依赖可以参考github 我的环境是centos 7 基本安装 需要golang 以及yarn安装 Protobuf 3 这是官方的方式,实际可以变通下 cd ~ wget https://github.com/google/protobuf/releases/download/v3.1.0/ 阅读全文

posted @ 2018-06-07 16:52 荣锋亮 阅读(2013) 评论(0) 推荐(0) 编辑

使用gopherjs 进行web 应用开发
摘要:1. 安装 go get -u github.com/gopherjs/gopherjs 2. 基本代码使用 备注: 这个只是一个简单的demo,进行pi 运算,结果还真是快 a. code golang package main import ( "fmt" "math" "time" ) fun 阅读全文

posted @ 2018-04-13 11:02 荣锋亮 阅读(1218) 评论(0) 推荐(0) 编辑

parceljs 基本使用———又一个前端构建工具
摘要:备注: 又一个新的前端构建工具 1. 安装 yarn global add parcel-bundler 2. 初始化项目 yarn init -y 3. 基本代码 a. 创建 index.html index.js index.html <html> <body> <script src="./i 阅读全文

posted @ 2017-12-10 19:53 荣锋亮 阅读(691) 评论(0) 推荐(0) 编辑

gulp 基本使用
摘要:1. 安装 npm install -g gulp-cli && npm install --save-dev gulp or with yarn yarn global gulp-cli && yarn add gulp 2. 使用 基本流程 1. gulp cli 启动命令行工具 2. 本地gu 阅读全文

posted @ 2017-11-11 13:08 荣锋亮 阅读(710) 评论(0) 推荐(0) 编辑

yarn  workspace 开发示例
摘要:此为官方示例: package.json { "private": true, "workspaces": [ "workspace-a", "workspace-b" ] } Note that the private: true is required! Workspaces are not m 阅读全文

posted @ 2017-11-10 18:19 荣锋亮 阅读(2428) 评论(0) 推荐(0) 编辑

HTML <meta> http-equiv Attribute 说明
摘要:1. 说明 ValueDescription content-type Specifies the character encoding for the document. Example: <meta http-equiv="content-type" content="text/html; ch 阅读全文

posted @ 2017-11-07 12:32 荣锋亮 阅读(457) 评论(0) 推荐(0) 编辑

xcomponent web 跨域组件介绍
摘要:1. 项目地址: https://github.com/krakenjs/xcomponent 2. 支持的特性 a. Render an iframe or popup on a different domain, and pass down props, including objects an 阅读全文

posted @ 2017-11-07 10:18 荣锋亮 阅读(602) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 10 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示