# create-vite-pages

Create a [vite-pages](https://github.com/vitejs/vite-plugin-react-pages) project.

```
npm init vite-pages [new-directory-name] -- --template [app|lib|lib-monorepo]
```

For example:

```
npm init vite-pages app-demo -- --template app
npm init vite-pages library-demo -- --template lib
npm init vite-pages library-monorepo-demo -- --template lib-monorepo
```

If you are using **npm 6.x**, the extra double-dash before `--template` should be deleted. For example, `npm init vite-pages app-demo --template app`.

After project is initialized, you should read the `README.md` of it.
