GithubHelp home page GithubHelp logo

vscode-extension-4's Introduction

PWA-Builder BETA

This extension allow you create the necesaries images for manifest file, package the project as Appx file and execute an appx package from a directory.

Table of Contents

  • Prerequisites
  • Installation
  • Table of Commands
  • How to use?
    • Appx Packaging
    • Execute Project
    • Image Generator
    • Snippets
      • Manifest
      • Service Worker

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install

Table of Commands

      Command       Description
Appx Package This command generates the Appx package
Execute Package Execute a app from manifest.xml file
Image Generator Generates the images that you need for manifest.

How to use?

Appx Packaging


  • Select manifest.json
  • Select the output folder in which you want the package will be saved.
  • Select the platform where the package will be installed

Picture

Result description:

  • Site Folder: This folder contains all the files that was created by the PWA-Builder.
  • Appx Manifest: This file is a XML file that has been created by the PWA-Builder package and it's needed for the packaging process.
  • Site Package: If we double click it, this gonna open the site as Windows App.

Execute Project


Select the application file that you want execute (It must be the appxmanifest.xml file on Windows and APP on Mac).
Picture

Image Generator


  • Open the Command Pallete
  • Select the App Image Generator option.
  • Select the image that you want for the app
  • Select the platforms where the app will be used
  • Set the image padding and image background (this could be transparent or a hexadecimal) values
  • Set the assets folder path
  • Set the manifest.json file path

Picture

Snippets

The snippets will help you saving time with the creation of the manifest and the service worker.

Manifest

This snippets run in JSON files only. There are two options:

  • Simple Manifest
  • Typical Manifest

Picture

Service Worker

This group contains:

  • Offline page
  • Offline copy of pages
  • Offline copy with Backup offline page
  • Cache-first network

Service worker code

Picture

Code for website

Picture

Built With

  • VS Code
  • Node.js

vscode-extension-4's People

Contributors

boyofgreen avatar lucaasrojas avatar lukealvarez avatar nbellocam 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.