vue-cli-plugin-skynet

1.0.4 • Public • Published

Vue CLI plugin for deploying apps on Sia Skynet (With Namebase integration).

Demo: How to deploy a Vue app on Skynet in under a minute! (Video)

Vue-UI Skynet Deploy

Features

  • Easy to use UI (Vue UI)
  • Auto update your Namebase/Handshake domain after upload
  • Sites deployed with Skynet benefit from all the normal Skynet perks (Unhackable, censorship resistent & very high uptime and speeds due to Sias network, just to name a few)

Installation

Requirements

Deploying an app

  1. Create a vue app if you haven't already with vue create my-app or using the vue ui web ui
  2. Change directory cd my-app
  3. Add the vue skynet plugin vue add skynet

This should add the npm scripts deploy and publish, edit the vue.config.js to use relative paths, install the npm package @nebulous/skynet and create the files deploy_skynet.js & vue-skynet_config.js

Configuration

In the vue-skynet_config.js file you can set a skynet portal and enable the Handshake/Namebase integration.

This can also be changed in the vue ui.

Usage

Now you can deploy your vue app to skynet with npm run deploy which will build your app and upload it. If you just want to upload and not build you can use npm run publish

You can also use the taks in the vue ui for that.

Package Sidebar

Install

npm i vue-cli-plugin-skynet

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

25.3 kB

Total Files

10

Last publish

Collaborators

  • delivator