1.0.17 • Published 1 year ago

@quarkd/quark-cli v1.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Quark CLI

With this CLI, you can use this to create a cross-framework/tech stack component, or perhaps you can package it as an npm package for distribution for others to use.

English | 简体中文

import QuarkElement, { customElement } from '@quarkd/core'

@customElement({
  tag: 'my-component',
})
class MyComponent extends QuarkElement {
  render() {
    return (
      <div>
        <h1>Hello Quark!</h1>
      </div>
    )
  }
}

Use it as a normal html element in various frameworks (React/Vue/Angular/JQ):

<my-component></my-component>

Installation:

NOTE: Vite requires Node.js version 14.18+, 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

npm i -g @quarkd/quark-cli

Create project

With NPX:

npx create-quark

Or with NPM:

npm create quark

Quick Overview

cd quark-project
npm install
npm start

Then open http://localhost:3000/ to see your app.

Examples of usage scenarios

Increase efficiency and reduce cost for your project/team!

Quark-CLI allows you to develop business components across multiple technology stacks/frameworks directly in daily development. For example, a marketing pop-up window of the same style can do:

  • Running in front-end projects of different technology stacks (Angular, Vue, React, etc.) at the same time
  • Run in different versions of the technology stack at the same time, such as running in Vue2.x, Vue3.x at the same time
1.0.17

1 year ago

1.0.16

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago