@pika/init
v2.0.1
Published
Bootstrap a Pika + Preact/Vue/Typescript/etc. application without the hassle!
Downloads
4
Maintainers
Readme
📦✨ @pika/init
Start a bundler-free @pika/web
web application with a single command!
Previously released as create-pika-app
, created by @ndom91
🛫 Quick Start
npx @pika/init awesome-new-app-directory
cd awesome-new-app-directory
npm run dev
The example application will then be available at localhost:5000
💻 Usage
Usage: npx @pika/init --template [template] <project-name>
Options:
-V, --version output the version number
-t, --template [template] template choice (optional)
-h, --help output usage information
Examples:
$ npx @pika/init --template app-preact my-new-app
$ npx @pika/init --template app-lit my-new-app
$ npx @@pika/init my-new-app
🌲 Templates
app-preact
Slimmed down version of terminal-homepage
built on the following stack:
- Preact
- Preact-router
- Preact-emotion
- Typescript
- Babel
- ESLint
- Prettier
- @Pika/Web
app-vue
- Vue
- http-vue-Loader
- Basic todo list example
- Original Source: glitch.me/pika-web-vue-httpvueloader
- Thanks:
@thiagoabreu
app-lit
- LitElement
- lit-html
- Basic To do List Example
- Thanks:
@thepassle
Your next app
😎
If you'd like to have your project included here, just open a PR and we'll take a look!
🚧 Contributing
Clone the repo
git clone https://github.com/pikapkg/init pika-init
Install the project
cd pika-init && npm install
To test execution of the binary:
Build the binary
npm run build
Generate a test application
node pkg/dist-node/index.bin.js generated-test-app-name
Fork, commit & push your changes, and then make a pull request back to this repository!
📝 Licence
MIT