npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lighting-plugin-type-vue

v1.4.5

Published

> lighting-plugin-type-vue 是一款集成了 webpack 的 lighting 插件,是 light2.0 工程必需的插件,用于工程的编译构建。

Downloads

223

Readme

lighting-plugin-type-vue 是一款集成了 webpack 的 lighting 插件,是 light2.0 工程必需的插件,用于工程的编译构建。

安装

注:安装 type-vue 插件之前,请确保您已经安装 v1.4 以上的 lighting 脚手架工具

light plugin -a type-vue //安装

light plugin -u type-vue //更新

light plugin -r type-vue //卸载

文档

了解更多 lighting-plugin-type-vue 插件的信息,请点击这里

注意

  1. 请同步升级lighting至1.32.0及以上版本
  2. 图片资源请尽量使用相对路径,如使用绝对路径,可在 build.js 文件中自行拷贝至 light.config.dist 目录下。注:目前会拷贝项目根目录下的images文件夹,其余图片资源需自行拷贝
  3. json、js等资源可使用import、require导入,未通过该方式引用的资源文件(包括ttf等其他特殊类型文件)在打包时可能不会被编译处理,需在 build.js 文件中自行拷贝至 light.config.dist 目录下

更新记录

v1.4.3

  1. 使用cheerio插件替代puppeteer

v1.4.2

  1. 使用puppeteer插件替代cheerio

v1.4.1

  1. 去除cheerio

v1.4.0

  1. 兼容多版本light-cli

v1.3.0

  1. 去除了拷贝到临时目录的功能,将在当前项目目录下直接进行编译

v1.2.12

  1. 编译可删除greeting代码

v1.2.11

  1. 固定压缩依赖库版本

v1.2.10

  1. project.json新增buildExConfig.polyfill配置关闭编译时的polyfill

v1.2.9

  1. 修复-wb启动jsn项目报错问题,如__webpack_require__(...) is not a function

v1.2.8

  1. 解决打包时编译报错不中断问题

v1.2.7

  1. 支持编译时eslint检测

v1.2.6

  1. 修复一些已知bug

v1.2.5

  1. 增加压缩进程数配置

v1.1.26

  1. #144595 type-vue异步视图移除对global的依赖

v1.1.24

  1. 支持自定义异步视图的chunkname

v1.1.20

  1. 移除项目根目录下的api目录

v1.1.19

  1. 当无法联网的环境下时,不再去请求平台接口来显示二维码

v1.1.18

  1. #123635 lighting开发工具支持自定义插件目录

v1.1.17

  1. #122625 支持配置反向代理地址

v1.0.6

  1. 修复首次启动报错的问题
  2. #61578 【lighting】编译的时候是否会使用 autoprefixer 对样式进行处理
  3. 增加内置resolve,支持@代表工程根目录
  4. #75138 lighting现在只有h5支持自定义的build.js,jsn也需要自定义build.js的支持以使用resolve.alias
  5. 支持异步视图添加反缓存后缀
  6. 增加在控制台显示二维码以方便扫描
  7. 二维码功能重构,二维码只在开发模式集成

2018.05.16

  1. 支持依赖出现在项目根目录

2018.01.26

  1. 生产模式下对所有js资源做es6处理包括node_modules目录

2018.01.10

  1. 对jsn编译时增加$processStyle(${el.styleBinding})的处理,升级依赖项目版本
  2. 调整jsn代码的编译方式,weex-vue-render升级

2017.12.26

  1. #61306【lighting】再增加一个参数单独控制是否开启vConsole

2017.12.06

  1. 增加jsnative下的环境变量设置
  2. #59972 【lighting】可以考虑在现有约定的基础上开放自定义配置接口(Webpack和Babel)
  3. 增加另外一种启用jsn编译的一方式
  4. 增加针对app.naitve.js的编译能力

2017.10.31

  1. 增加weex环境的编译输出能力,全面支持jsnative开发,让应用开发性能更高
  2. css文件的require支持

2017.09.01

  1. #48280 lighting新模版下首次打开报错的问题处理

2017.08.15

  1. 增加source-map的支持

2017.08.08

  1. 修正字体文件导致编译出错的问题

2017.07.31

  1. #44764 显示编译进度的进度条
  2. #44674 windows下打包历史资源没有正常删除
  3. #43198 显示webpack的日志信息,这个编译流程要打印出来