GithubHelp home page GithubHelp logo

vue-web-shell's Introduction

web-shell

  1. 进入server和client文件夹装包
cd server
yarn

cd client
yarn
  1. 打开client/src/components/terminal/terminal.vue,填入你要远程的主机ip账号密码。到时候会通过websocket传给server,你也可以直接在server端写死,具体看业务需求

  2. 启动

cd server
node app.js

cd client
yarn serve

注意:本项目前端使用的xterm版本相对于现在有点老,有能力可以升级到最新版本,但是会报错,应该是官方修改了引入方法。如果想升级到最新,建议看官方文档重构代码。我现在已经固定版本,不想升级就不要乱动代码。

vue-web-shell's People

Contributors

blogwy 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.