vue-recoil-cli

0.0.1 • Public • Published

vue-recoil-cli

Vue Recoil CLI is the Standard Tooling for Vue-Recoil Development.

Start.

npm install -g vue-recoil-cli

Enjoy Development.

Create your project.

recoil init my-project

More creator.

Create a atom's file of recoil by CLI.

recoil create atom.js HelloWord

atom.js

import { atom } from "vue-recoil"
 
export const atomState = atom({
  key: "myAtomKey",
  default: "HelloWord",
});

TypeScript support.

recoil create atom.ts HelloWord

So, atom.ts with the awesome contents:

import { atom } from "vue-recoil"
 
export const atomState = atom<RootObject>({
  key: "myAtomKey",
  default: "HelloWord",
})
 
export type RootObject = string

Package Sidebar

Install

npm i vue-recoil-cli

Weekly Downloads

9

Version

0.0.1

License

ISC

Unpacked Size

11.4 kB

Total Files

11

Last publish

Collaborators

  • lokeezzz