Giter Site home page Giter Site logo

cms-search-website's Introduction

项目背景

  • 近期学习了react,自己生活中,见到一些喜欢的网站,存着存着就丢了,想开发一个鱼皮大佬类似的网站,一是为练手,二是方便自己

技术栈

  • React 全家桶 React + react-router-dom V6 + antd + react-redux + styled-components

技术说明

包管理使用yarn,并行下载,Facebook开发,react也是Facebook开发。

配置scss

// react框架默认认识 scss,配置 scss就可以
yarn add styled-components --save

解决css样式冲突问题,使用styled-components

yarn add styled-components -S

antd 配置按需引入

// 安装 @craco/craco
yarn add @craco/craco
yarn add babel-plugin-import
// 建立根目录文件 craco.config.js
module.exports = {
  babel: {//支持装饰器
      plugins: [
          [
              "import",
              {
                  "libraryName": "antd",
                  "libraryDirectory": "es",
                  "style": 'css' //设置为true即是less 这里用的是css
              }
          ]
      ]
  },
};

cms-search-website's People

Contributors

xl45059465 avatar dlcoder224 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.