Skip to content

Latest commit

 

History

History

create-pota

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@pota/create · version downloads

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 webpack version
react-webpack react-webpack version
muban-webpack muban-webpack version
vite vite version
react-vite react-vite version

Official Scripts

Package Version
vanilla vanilla version
react react version
react-base react-base version
muban muban version
next next version

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.