tweak: Small reorganizing
This commit is contained in:
parent
639e7e793b
commit
c1ae86b100
|
@ -6,6 +6,8 @@ The core structure is json array of objects. Only the "name" attribute is requir
|
|||
|
||||
The `isReferenceValue` property determines the display at the end, but it is optional.
|
||||
|
||||
So internally this would look like:
|
||||
|
||||
```
|
||||
[
|
||||
{
|
||||
|
|
3
data/test.js
Normal file
3
data/test.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import listOfElements from 'listOfMoralGoods.js'
|
||||
|
||||
console.log(listOfElements)
|
|
@ -1,5 +1,5 @@
|
|||
/* Definitions */
|
||||
const elementsDocument = 'listOfMoralGoods.json'
|
||||
const elementsDocument = '../data/listOfMoralGoods.json'
|
||||
const domain = 250
|
||||
|
||||
/* Imports */
|
||||
|
|
|
@ -5,9 +5,10 @@
|
|||
*/
|
||||
|
||||
/* Definitions */
|
||||
const elementsDocument = 'listOfResearchOutputs.json'
|
||||
const elementsDocument = '../data/listOfResearchOutputs.json'
|
||||
const domain = 10**7
|
||||
|
||||
|
||||
/* Imports */
|
||||
import Head from 'next/head'
|
||||
import React, { useState } from "react";
|
||||
|
|
Loading…
Reference in New Issue
Block a user