Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

dico-app/poc-sd-2-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sd-2-demo

Prerequisites

  1. Clone this repository
$ git clone https://github.com/dico-app/sd-2-demo
  1. Install dependencies
$ yarn install # or npm install
  1. Start dev server
$ yarn dev # or npm run dev

Getting Started

Installation

Install Dico easily using npm:

$ npm install --global @dico/cli-sd

Configuration

Log into the CLI to use the command lines:

$ dico login 81b637d8fcd2c6da6359e6963113a1170de795e4b725b84d1e0b4cfd9ec58ce9

Init Dico in your project with the following command. This will create a file dico.config.jsonc to manage your keys:

$ dico init

Create your first keys

You can now create your first keys and collections in the dico.config.jsonc file:

{
  "myFirstCollection": {
    "myFirstKey": "string"
  }
}

Use the Dico keys you just created directly in your code:

<div>{{ $dico.myFirstCollection.myFirstKey }}</div>

Push your changes to Dico

Push all your created keys to Dico and click the link to navigate directly to the merge request on the website:

$ dico push

About

Sprint design #2 client POC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published