Giter Site home page Giter Site logo

anii's Introduction

ANII

An alternative web app to the awesome video player IINA (Obviously IINA is much more powerful)

As it's using HTML5 video tag, it only supports these formats: MP4, Ogg, WebM.

You can visit https://anii.surge.sh for an offline version.

Commands

You can replace yarn with npm run here.

# build for production
yarn build

# development mode
yarn dev

# serve the bundled dist folder in production mode
yarn serve

Polyfills

By default we only polyfill window.Promise and Object.assign. You can add more polyfills in ./src/polyfills.js.

Code splitting

As webpack supports both dynamic import and require.ensure syntax, we would recommend you to stick to require.ensure for now because of performance issue.

Analyze bundle size

Run yarn report to get a report of bundle size which helps you:

  • Realize what's really inside your bundle
  • Find out what modules make up the most of it's size
  • Find modules that got there by mistake
  • Optimize it!

Progress Web App

Your app is now offline-ready (only in production bundle), which means you can visit it without network.

Here we use a default manifest.json to configurure your pwa, for example, to enable [Add to Home Screen] feature on Android. It will be copied directly to ./dist/manifest.json.

For all the available options, please head to poi-preset-offline.


This project is generated from template-vue.

anii's People

Contributors

egoist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.