Giter Site home page Giter Site logo

blogsaga's Introduction

1、安装babel-polyfill
否则提示错误saga部分,ReferenceError: regeneratorRuntime is not defined

2、apiServer/运行数据库
   server/index则是运行起相同域可以访问

3、http-proxy实现反向代理,用于服务端口被占用,分发端口

   webpack 入口配置

   `webpack-hot-middleware/client?path=http://${config.host}:${config.port}/__webpack_hmr`,

   webpack plugins配置
   new webpack.HotModuleReplacementPlugin()

   server.js配置
 
4、使用less版本不同出现,

Module build failed:

// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?


[email protected] 是OK的。

[email protected],需要开启 配置项 javascriptEnabled: true

{ loader: 'less-loader', options: { javascriptEnabled: true } 

5、Missing class properties transform.
安装babel-plugin-transform-class-properties,并且在babelrc中配置


6、详情页一直显示404
因为/:tags路由在详情之前,已经被匹配了

7、requier引用img,需要安装file-loader

blogsaga's People

Contributors

dmmgreen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.