recently encountered a demand, the react project needs to add a rich text editor, there are many online, to find a braft-editor, their own new project to use no problem. However, when adding to the project, because the project uses server rendering (jus...
execute serve-s locally after executing npm run build locally. Transfer the build file to Ali Cloud via localhost access, and then execute serve-s in the build file. finally shows that the deployment is successful . but it cannot be accessed through ...
when using react and antdesign as background, I need to implement this function: use the Tab component, click the label to change the route to realize the reloading of the data below, but there is always a problem when you do it. After clicking, it...
interface IAppProps { : locale: string; isAuthenticated: boolean; isCollapsed: boolean; isLoading: boolean; isConnected: boolean; isConnecting: boolean; keystringvaluestring localeMessages: { [key: string]...
what does this export mean export default DragDropContext(HTML5Backend)( connectAPP connect(mapStateToProps, mapDispatchToProps, null, { pure: false })(App) ); import * as React from react ; import { Route } from react-router-dom ; im...
the react-monaco editor is introduced into the project, but the foreground cannot be displayed because of cross-domain problems. How to solve this is the foreground display page this is the background code Copyright 2017 The genesis-front Author...
1.npm run dev error 2. Screenshot of error report: A piece of code in 3.growl.js var exec = require( child_process ).exec , fs = require( fs ) , path = require( path ) , exists = fs.existsSync || path.existsSync , os = require( os )...
...
error message: Source code: Copyright 2017 The genesis-front Authors This file is part of the genesis-front library. The genesis-front library is free software: you can redistribute it and or modify it under the terms of the GNU Le...
what is the general meaning of the following code? is this a promise object? What is the approximate running process ...
I am a novice. Before, I used react technology stack to develop projects in the company, but I was only responsible for local development, using a local server, and then git push the code. After that, the supervisor was doing all the work. Now that I hav...
css webpackconfig module: { preLoaders: [ {test: .(js|jsx)$ , loader: "eslint-loader", exclude: node_modules } ], loaders: [ { test: .(js|jsx)$ , exclude...
I want to add a click event to this columns. How should I add it? ...
...
import * as React from react ; and import React from react ; what s the difference what are the following packages for? import { Provider } from react-redux ; import { ConnectedRouter } from react-router-redux ; import store, { histo...
I want to add events to a build in a loop, but why not? class Lesson extends Component { * TODO * constructor(){ super() } alertInfo(lesson,index){ console.log(index+"-"+lesson.title) } render(){ const lesson=...
although it is said that the use of webpack webpack-dev-server, and then with babel transcoding, coupled with a variety of loaders and plugins can really be better, targeted to build a development environment. but these configurations take too much ti...
LocaleProviderdemomoment : ...
as shown in the figure, the development environment is configured with forwarding but after packaging, there is no whether the code in the production environment can be forwarded . now the URL in the production environment defaults to the access ...
Can the reac router < Link to= " home " > < Link > tag render a be changed by default, as convenient as vue? ...
Click on the tag in AppSider, and the AppContent component gets the current tag and then requests a list. Now I don t know how to associate the component with store action export const setTag = tag => ({ type: SET_TAG , tag }) reducer c...
in the project I am working on, the design draft given by ui is based on a fixed 1440px resolution. If it is greater or less than this resolution, such as 1200px or 1800px, it will cause the page layout to be ugly. how do you solve this problem? ...
use the vscode alt+shift+f format vue code to set the following template when pug, is used, how can you set the indentation of pug to 4 spaces, { "editor.fontSize": 12, "emmet.variables": { "lang": "z...
css: Why is the last element selected? ...
Google inspect debugs the Android webviewH5 page, showing only the phone version number, not the list of web pages. I use the Night Simulator here, and the developer mode has been turned on. It has allowed usb debugging adbnox_adb to finally see suc...