New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-admin-core

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-admin-core

react-admin

latest
Source
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source

react-admin 用来快速简单的创建 react 应用

安装

npm install react-admin-core core-js

基本使用

  • 1.在 package.json 中添加命令
{
  "scripts": {
    "start": "react-admin start",
    "build": "react-admin build"
  }
}
  • 2.启动工程
npm run start
  • 3.访问页面

    访问http://localhost:3000 就会显示 pages/index 页面

  • 4.创建新页面

    在 pages 目录下新建页面 example/index.js 访问http://localhost:3000/#/example 就会显示 pages/example 页面

  • 5.路由模式

    默认是 HashRouter,可以在/src/index.js 中修改为 BrowserRouter

Keywords

react-admin

FAQs

Package last updated on 29 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts