simple-entertainment-search

所属分类:collect
开发工具:CSS
文件大小:0KB
下载次数:0
上传日期:2023-09-08 14:31:47
上 传 者sh-1993
说明:  这是一个使用OMDB API的娱乐搜索应用程序。
(This is an entertainment search app that uses the OMDB API.)

文件列表:
.eslintrc.cjs (526, 2023-09-08)
index.html (411, 2023-09-08)
package-lock.json (113637, 2023-09-08)
package.json (667, 2023-09-08)
public/ (0, 2023-09-08)
public/vite.svg (1497, 2023-09-08)
src/ (0, 2023-09-08)
src/App.jsx (1647, 2023-09-08)
src/MovieCard.jsx (511, 2023-09-08)
src/assets/ (0, 2023-09-08)
src/assets/react.svg (4126, 2023-09-08)
src/index.css (3788, 2023-09-08)
src/main.jsx (239, 2023-09-08)
src/search.svg (536, 2023-09-08)
vite.config.js (167, 2023-09-08)

# simple-entertainment-search ## Scaffolding Your First Vite Project > **Compatibility Note:** > Vite requires [Node.js](https://nodejs.org/en/) version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it. With NPM: ```bash $ npm create vite@latest ``` With Yarn: ```bash $ yarn create vite ``` With PNPM: ```bash $ pnpm create vite ``` Then follow the prompts! You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run: ```bash # npm 6.x npm create vite@latest my-vue-app --template vue # npm 7+, extra double-dash is needed: npm create vite@latest my-vue-app -- --template vue # yarn yarn create vite my-vue-app --template vue # pnpm pnpm create vite my-vue-app --template vue ``` Currently supported template presets include: - `vanilla` - `vanilla-ts` - `vue` - `vue-ts` - `react` - `react-ts` - `react-swc` - `react-swc-ts` - `preact` - `preact-ts` - `lit` - `lit-ts` - `svelte` - `svelte-ts` - `solid` - `solid-ts` You can use `.` for the project name to scaffold in the current directory. ## Community Templates create-vite is a tool to quickly start a project from a basic template for popular frameworks. Check out Awesome Vite for [community maintained templates](https://github.com/vitejs/awesome-vite#templates) that include other tools or target different frameworks. You can use a tool like [degit](https://github.com/Rich-Harris/degit) to scaffold your project with one of the templates. ```bash npx degit user/project my-project cd my-project npm install npm run dev ``` If the project uses `main` as the default branch, suffix the project repo with `#main` ```bash npx degit user/project#main my-project ``` This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

近期下载者

相关文件


收藏者