nativescript-images-generator-hook

3.0.1 • Public • Published

Nativescript images generator hook

Nativescript hook that generates App_Resources images based on a single high resolution image.

Installation

npm install nativescript-images-generator-hook --save-dev

Usage

Put all your 3x PNG images in App_Resources/images.

For instance, if you put navbar_logo@3x.png in this folder, it will be available as res://navbar_logo. If you put an image without scale suffix, it will use it as a x1 image. You can provide any integer scale from 1 to 5.

License

MIT License - Copyright (c) 2020 Creatiwity

Package Sidebar

Install

npm i nativescript-images-generator-hook

Weekly Downloads

1

Version

3.0.1

License

MIT

Unpacked Size

16.6 kB

Total Files

10

Last publish

Collaborators

  • angel946
  • jdufau
  • julienblatecky