定制 netgen/content-browser-ui 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

netgen/content-browser-ui

最新稳定版本:1.4.1

Composer 安装命令:

composer require netgen/content-browser-ui

包简介

Netgen Content Browser user interface

README 文档

README

This repository contains the user interface for Netgen Content Browser.

Requirements

Development

After cloning the repository, install the dependencies with:

$ yarn install

First time build configuration

Before building the project for the first time, you need to copy .env.dist file to .env. This file specifies basic configuration for development and running the tests.

Starting the development server

The app uses a mock API by default, provided by the included Express server, which you need to start before starting the Webpack development server:

# Starts the Express server
$ yarn express

# Starts the Webpack development server
$ yarn start

You can now access the app at http://localhost:8181. Webpack watches for changes in files and automatically refreshes the app.

If you want to use real data from your backend CMS for development of Content Browser, you need to change the SITE_URL parameter inside .env file to proxy all API requests to your site.

In that case, you don't need to start the Express server. Run only the following:

# Starts the Webpack development server
$ yarn start

Build

To build the production assets run the following:

$ yarn build

This will build the app and place all generated assets into bundle/Resources/public folder.

Tests

For end-to-end testing this repo uses Cypress. Tests are mostly written for test data so Express server needs to be started before running them. To run the tests continuously in Google Chrome while developing, start Cypress with:

$ yarn cypress

This opens a window where you can click on browser_test.js which opens its own Google Chrome window and runs the tests. Tests are automatically ran whenever the app updates (on every file change).

When ran standalone, tests use the production build of the app:

$ yarn ci

This starts the Express server and runs the tests in a headless browser.

统计信息

  • 总下载量: 112.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 3
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 3
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固