/BannerMan

a web editer base vuejs ecosystem

Primary LanguageVueMIT LicenseMIT

BM logo

Banner Man

a web editer base vuejs ecosystem

Preview

img

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

Nginx Config

server {
    listen       8008 default_server;
    server_name  BannerMan;
    charset      utf-8;
    root         /path/to/BannerMan/dist;

    location /editor {
        try_files $uri $uri/ /index.html;
    }
    location /manager {
        try_files $uri $uri/ /manager.html;
    }
    location /viewport {
        try_files $uri $uri/ /viewport.html;
    }
    location /preview {
        try_files $uri $uri/ /preview.html;
    }
    location / {
        try_files $uri $uri/ /index.html;
    }
}
// 如果有样式报错, 请删掉 theme 文件夹,重新生成 element 的样式文件.