@wiajs/core
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

English | ��������

Wia Core

wia's core libraries

@wiajs/core - are the core libraries of wia.

See wia core documentation for usage examples and available methods.

Note: This package's part of the code is borrowed from Framework7. I am forever grateful for the gift they are to the web.

Install

$ npm i -D @wiajs/core

Use

To use in code:

import {App, Page} from '@wiajs/core';

Build

You will need Node.js installed on your system.

First, install all required dependencies

$ npm install

To build development version:

$ npm run build-dev

The resulting files are:

  1. dist/core.common.js
  2. dist/core.common.map
  3. dist/core.esm.js
  4. dist/core.esm.map
  5. dist/core.umd.js
  6. dist/core.umd.map

To build production (minified) version:

$ npm run build

The resulting files are:

  1. dist/core.common.js
  2. dist/core.common.min.js
  3. dist/core.esm.js
  4. dist/core.esm.min.js
  5. dist/core.umd.js
  6. dist/core.min.js

The main files are:

  1. event.js
  2. app.js
  3. page.js
  4. support.js
  5. device.js
  6. module.js
  7. load.js
  8. lazy.js
  9. resize.js
  10. ajax.js
  11. sw.js
  12. utils.js

Keywords

Install

DownloadsWeekly Downloads

34

Version

1.0.11

License

MIT

Unpacked Size

521 kB

Total Files

21

Last publish

Collaborators

  • walteryu
  • sibylyu