前端

刘超 6天前 ⋅ 4811 阅读   编辑

一、网页

 1、解决网页不能复制问题

二、js

  js总结

  1、js压缩YUI Compressor

  2、ja压缩菜鸟工具

  3、js压缩uglifiyJS

  4、编辑器

    1)、tincymce

  5、文件管理器(给博客增加个附件功能)

    1) elFinder

  6、yuicompressor-maven-plugin插件

  a、Pattern.compile Illegal repetition near index 8

  b、yuicompressor-maven-plugin:1.5.1:compress failed: String index out of range: 11496

  7、npm

  a、Highlighter
   -
Uncaught ReferenceError: Highlighter is not defined

  a、fsevents
   - npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):

  b、-bash: cnpm: command not found

  c、Error making request.Error: read ECONNRESET at TLSWrap.onread (net.js:660:25)

  d、at Timeout._onTimeout (/usr/lib/nodejs/lib/node_modules/cnpm/node_modules/urllib/lib/urllib.js:926:15)

  e、执行npm run dev,报Error: Cannot find module 'webpack/bin/config-yargs'

  f、解决webpack-dev-server不能使用IP访问

  g、Error: pngquant failed to build, make sure that libpng-dev is installed

  h、npm run dev 在Linux上持久运行

  i、Module not found: Error: Can't resolve 'image-webpack-loader' in 'E:\Workspace\dq\davinci\webapp'(未解决)

  j、Module build failed (from ./node_modules/image-webpack-loader/index.js):

  k、vue npm run build 打包去掉console和警告

  l、Module not found: Error: Can't resolve 'file-loader' in '/Workspace/Learn/dq/webapp'

  m、Module build failed (from ./node_modules/happypack/loader.js): TypeError: Cannot read property 'errors' of undefined

  n、Error: Can't resolve 'ts-loader' in '/Workspace/Learn/dq/webapp'

  o、FATAL ERROR: Scavenger: semi-space copy Allocation failed - JavaScript heap out of memory

  p、Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...? (28:48)

  q、FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

  r、'"node --max-old-space-size=10240"' 不是内部或外部命令,也不是可运行的程序

  s、Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

  t、npm警告:npm WARN nest-app@0.0.1 No repository field

  u、Critical dependency: the request of a dependency is an expression

  v、cannot read property 'numerator' of undefined antd

  w、Inline JavaScript is not enabled. Is it set in your options?

  8、TypeScript
  a、Ant Design
      设计文档
      设计文档2
      项目源码
      Third-Party Libraries
      ant-design-pro

  9、需求
    a、条件判断需求

三、css

  1、css压缩YUI Compressor

  2、为table设置css的width、margin-left属性溢出

四、nginx

  1、File /usr/bin/yum, line 30 except KeyboardInterrupt, e:

五、webpack打包工具

  webpack中文文档

  1、SplitChunksPlugin


注意:本文归作者所有,未经作者允许,不得转载

全部评论: 0

    我有话说: