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.
|
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 */
|
/* Definitions */
|
||||||
const elementsDocument = 'listOfMoralGoods.json'
|
const elementsDocument = '../data/listOfMoralGoods.json'
|
||||||
const domain = 250
|
const domain = 250
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Definitions */
|
/* Definitions */
|
||||||
const elementsDocument = 'listOfResearchOutputs.json'
|
const elementsDocument = '../data/listOfResearchOutputs.json'
|
||||||
const domain = 10**7
|
const domain = 10**7
|
||||||
|
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
|
@ -409,4 +410,4 @@ export default function Home({ listOfElementsDefault }) {
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user