系列: ViteReact
javascript
10 行
· 更新于 2026-02-03
main.jsx
ViteReact/my-vite-react-app/src/main.jsx
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>,
)
相关文章
ViteReact
javascript
更新于 2026-02-03
eslint.config.js
eslint.config.js — javascript source code from the ViteReact learning materials (ViteReact/my-vite-react-app/eslint.config.js).
阅读文章 →
ViteReact
javascript
更新于 2026-02-03
App.jsx
App.jsx — javascript source code from the ViteReact learning materials (ViteReact/my-vite-react-app/src/App.jsx).
阅读文章 →
ViteReact
javascript
更新于 2026-02-03
vite.config.js
vite.config.js — javascript source code from the ViteReact learning materials (ViteReact/my-vite-react-app/vite.config.js).
阅读文章 →