JSPM

create-qwik

0.0.16-13
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1804
  • Score
    100M100P100Q127925F
  • License MIT

Interactive CLI and API for generating Qwik projects.

Package Exports

  • create-qwik
  • create-qwik/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-qwik) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Create Qwik

Interactive mode

npm init qwik@latest

Command mode

npm init qwik@latest <starter> <projectName>

Example:

npm init qwik@latest todo my-app

API

const { getStarters, generateStarter } = require('create-qwik');

const starters = await getStarters();
console.log(starters);

const opts = {
  projectName: 'my-project',
  appId: 'todo',
  serverId: 'express',
  outDir: '/path/to/output/dir',
  featureIds: [],
};

const result = await generateStarter(opts);
console.log(result);

Community