knox / React-admin-readme-3.jsx
0 likes
0 forks
1 files
Last active
1 | // in posts.js |
2 | import * as React from "react"; |
3 | import { List, Datagrid, Edit, Create, SimpleForm, DateField, TextField, EditButton, TextInput, DateInput, useRecordContext } from 'react-admin'; |
4 | import BookIcon from '@mui/icons-material/Book'; |
5 | export const PostIcon = BookIcon; |
6 | |
7 | export const PostList = () => ( |
8 | <List> |
9 | <Datagrid> |
10 | <TextField source="id" /> |
knox / React-admin-readme-2.jsx
0 likes
0 forks
1 files
Last active
1 | // in app.js |
2 | import * as React from "react"; |
3 | import { render } from 'react-dom'; |
4 | import { Admin, Resource } from 'react-admin'; |
5 | import restProvider from 'ra-data-simple-rest'; |
6 | |
7 | import { PostList, PostEdit, PostCreate, PostIcon } from './posts'; |
8 | |
9 | render( |
10 | <Admin dataProvider={restProvider('http://localhost:3000')}> |
knox / React-admin-readme-1.sh
0 likes
0 forks
1 files
Last active
1 | npm install react-admin |
2 | #or |
3 | yarn add react-admin |
knox / astro-readme-4.md
0 likes
0 forks
1 files
Last active
Project | Repository |
---|---|
@astrojs/compiler | withastro/compiler |
Astro Language Tools | withastro/language-tools |
knox / astro-readme-3.md
0 likes
0 forks
1 files
Last active
Package | Release Notes |
---|---|
astro | |
create-astro | |
@astrojs/react | |
@astrojs/preact | |
@astrojs/solid-js | |
@astrojs/svelte | |
@astrojs/vue | |
@astrojs/lit |
knox / astro-readme-2.sh
0 likes
0 forks
1 files
Last active
1 | npm install --save-dev astro |
knox / astro-readme-1.sh
0 likes
0 forks
1 files
Last active
1 | npm create astro@latest |
knox / ONNX-readme-2.md
0 likes
0 forks
1 files
Last active
knox / ONNX-readme-1.md
0 likes
0 forks
1 files
Last active
knox / HOSTS-readme-18.sh
0 likes
0 forks
1 files
Last active
1 | sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder |