@pota/create
·
Creating a Pota Project
You can create a new pota project using npm init
:
npm init @pota
Then follow the prompts.
Official Templates
Package | Version |
---|---|
webpack | |
react-webpack | |
muban-webpack | |
vite | |
react-vite |
Official Scripts
Package | Version |
---|---|
vanilla | |
react | |
react-base | |
muban | |
next |
Combinations
@pota/create
also has a few built-in template & scripts combinations for recommended setups:
# combination: muban
# scripts: [@pota/muban-webpack-scripts]
# template: @pota/muban-template
npm init @pota muban
# combination: react
# scripts: [@pota/react-webpack-scripts]
# template: @pota/react-template
npm init @pota react
# combination: react-base
# scripts: [@pota/react-webpack-scripts]
# template: @pota/react-base-template
npm init @pota react-base
# combination: vanilla
# scripts: [@pota/webpack-scripts]
# template: @pota/vanilla-template
npm init @pota vanilla
Custom Templates without scripts
example for vue-skeleton
npm init @pota -- --template github:hjeti/vue-skeleton
Contributing
See CONTRIBUTING.md
License
Pota is MIT licensed.