Run Local Script
LucaDillenburg opened this issue · comments
Luca Dillenburg commented
I was wondering how I could run some scripts locally after a click for example.
I tried the following but the import doesn't work.
const { exec } = require('child_process');
// exec is undefined
Also tried creating a package.json
and adding the child_process
, but it did not work either.
I want to do something similar to this Issue, but with React instead of CoffeeScript.
Thanks in advance.
Ethan Doh commented
You can use run
provided by Übersicht.
import { css, request, run, styled } from 'uebersicht'
Luca Dillenburg commented
Thank you @neoswallow