guoyu07 / seaweedfs-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

seaweedfs-web

A Vue.js project to enhance default SeaweedFS Filer UI.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run e2e tests
npm run e2e

# run all tests
npm test

Configure Address

static\page_config.js

//  modify the filer address
window.g = {
  filer: '127.0.0.1:8888'
}

Configure Language

static\page_config.js

//  modify the filer language
window.g = {
  locale: 'language' // zh-CN ==> Chinese  en-US ==> English language
}

Configure the local boot address

config\index.js

// modify the cost machine ip address
module.exports = {
  dev: {
    host: '127.0.0.1'
  }
}

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

License:Apache License 2.0


Languages

Language:HTML 53.4%Language:JavaScript 15.1%Language:Vue 14.6%Language:CSS 12.9%Language:SCSS 4.1%