Skip to content
πŸ“¦ Create a bundler-free @pika/web app with a single command.
JavaScript CSS TypeScript HTML Vue HCL
Branch: master
Clone or download
Latest commit b567df7 Oct 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix: install output update Sep 3, 2019
assets fix: removed emotion from app-preact Oct 2, 2019
src Merge pull request #17 from pikapkg/more-cleaup-ndo Oct 1, 2019
.eslintrc.js added: babel-eslint parser Sep 13, 2019
.gitignore more cleanup in prep for release Oct 1, 2019
LICENSE
README.md Update README.md Oct 1, 2019
cpa.gif update: new readme gif Oct 1, 2019
package-lock.json 2.0.1 Oct 7, 2019
package.json 2.0.1 Oct 7, 2019

README.md

πŸ“¦βœ¨ @pika/init

Start a bundler-free @pika/web web application with a single command!
Previously released as create-pika-app, created by @ndom91

Usage Gif

πŸ›« 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

  1. app-preact

Slimmed down version of terminal-homepage built on the following stack:

  • Preact
  • Preact-router
  • Preact-emotion
  • Typescript
  • Babel
  • ESLint
  • Prettier
  • @Pika/Web
  1. app-vue

  1. app-lit

  • LitElement
  • lit-html
  • Basic To do List Example
  • Thanks: @thepassle
  1. Your next app 😎

If you'd like to have your project included here, just open a PR and we'll take a look!

🚧 Contributing

  1. Clone the repo
    git clone https://github.com/pikapkg/init pika-init

  2. Install the project
    cd pika-init && npm install

To test execution of the binary:

  1. Build the binary npm run build

  2. Generate a test application node pkg/dist-node/index.bin.js generated-test-app-name

  3. Fork, commit & push your changes, and then make a pull request back to this repository!


πŸ“ LicenceMIT

You can’t perform that action at this time.