@reactseed/template-vite

0.2.0 • Public • Published

@reactseed/template-vite

LICENSE npm version NPM-CI

Vite Ant Design template for the React Seed(use vite in dev, production still use webpack).

Quick start

npx @reactseed/cli init

If you use npm 5.1 or earlier, you can't use npx. Instead, install @reactseed/cli globally:

npm install -g @reactseed/cli 

Now you can run:

reactseed init

Select Vite Ant Design Template

? The template you want to use?
  Defalut Template
❯ Vite Ant Design Template (useRedux + useRequest)

Then open http://localhost:3099/ to see your app.

When you’re ready to deploy to production, create a minified bundle with npm run build.

What's inside?

Project structure

Here are the top-level files and directories you'll see in an app created using this template.

@reactseed/template-antd
├── build
├── mock
├── public
├── src
│   ├── components
│   ├── configs
│   ├── hooks
│   ├── pages
│   ├── routes
│   ├── typings
│   ├── utils
│   ├── defaultSettings.js
│   ├── react-app-env.d.ts
|   ├── router.tsx
│   ├── serviceWorker.ts
│   └── setupProxy.js
├── .env
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .prettierrc
├── .stylelintrc
├── config-overrides.js
├── README.md
├── tsconfig.json
├── paths.tsconfig.json
└── package.json
└── vite.config.ts

License

React Seed is open source software licensed as BDS.

Package Sidebar

Install

npm i @reactseed/template-vite

Weekly Downloads

1

Version

0.2.0

License

BSD

Unpacked Size

50.1 kB

Total Files

61

Last publish

Collaborators

  • reactseed