銀桑

Results 12 issues of 銀桑

``` function priviteKindOf(sth) { if (typeof sth === 'object' || typeof sth === 'function') { const type = /\[object (.*)\]/.exec(Object.prototype.toString.call(sth))[1].toLowerCase().replace(/\s/, '') if (type === 'uint8array' && sth instanceof Buffer) {...

Course ![image](https://user-images.githubusercontent.com/12373328/102491577-5f74af80-40ab-11eb-9d41-519c80ea6bf5.png) // webpack.config.js ``` resolve: { extensions: ['*', '.js', '.json', '.jsx', '.tsx', '.ts', '.css', '*.css', '.scss'], }, ``` // RuntimeStyleResolution.js ``` /** * @file Demonstrates runtime "styleName" resolution. *...

我java后台是在本地跑的,返回一个json。localhost:8080 我把react-antd-admin设置为localhost:9090,想访问localhost:8080/bpm/pi时。 1,我在webpack.config.js中加入proxy怎么代理不过去?还是显示在localhost:9090/bpm/pi; 2,为什么我在config.js的api中修改host,能跨域到localhost:8080,但是返回: XMLHttpRequest cannot load http://localhost:8080/bpm/pi. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9090' is therefore...

use react、 react-router and webpack-cdn-plugin。 mainPage not have axios,pageB use axios to fetch sth. ``` import('axios').then() ``` While mainPage load CDN axios.min.js is useless. now : dist/index has CDN of...

When using the fileBlacklist of options, it will cover the default option([/\.map/]). **Wish**: `fileBlacklist:[/userIgnore\.js/, /\.map/]` **Actually** `fileBlacklist: [/userIgnore\.js/]` I wonder if it‘s a Bug or design of this shadow merge?...

pragma and pragmaFrag cannot be set when runtime is automatic. ``` /** @jsx Didact.createElement */ const element = ( bar ) ``` "react-scripts": "3.0.0" was OK.

![image](https://user-images.githubusercontent.com/12373328/81372477-0b751600-912d-11ea-9c22-854626585947.png) :)

here is your npm api **var gulp = require('gulp'); var imagemin = require('gulp-tinypng'); gulp.task('tinypng', function () { gulp.src('src/image.png') .pipe(tingpng('API_KEY')) .pipe(gulp.dest('dist')); });** I change it to this, and it works. **var...

While enable CodeGeek, input code will Stuck or stopped for a while.

bug

``` npx shadcn-ui@latest add button ``` create a button, source code here. This button can't be clicked. ``` import * as React from "react" import { Slot } from "@radix-ui/react-slot"...

Stale