Skip to content

Delivator/vue-cli-plugin-skynet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

npm npm

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.

About

Vue CLI plugin for deploying vue apps on Sia Skynet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published