create-pota
·
Creating a Pota Project
You can create a new pota project using npm init
:
npm init pota@latest
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
create-pota
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@latest muban
# combination: react
# scripts: [@pota/react-webpack-scripts]
# template: @pota/react-template
npm init pota@latest react
# combination: react-base
# scripts: [@pota/react-webpack-scripts]
# template: @pota/react-base-template
npm init pota@latest react-base
# combination: vanilla
# scripts: [@pota/webpack-scripts]
# template: @pota/vanilla-template
npm init pota@latest vanilla
Custom Templates without scripts
example for vue-skeleton
npm init pota@latest -- --template github:hjeti/vue-skeleton
Contributing
See CONTRIBUTING.md
License
Pota is MIT licensed.