We have Refs! Emit and Update event to update refs in the 'store'.
This commit is contained in:
parent
a39c80fc74
commit
1af838126e
6 changed files with 119 additions and 20 deletions
|
|
@ -11,13 +11,18 @@ import designTokensCode from './design-tokens.cg?raw';
|
|||
import uiComponentsCode from './ui-components.cg?raw';
|
||||
|
||||
import textInputCode from './textinput-test.cg?raw';
|
||||
import refTest from './test-ref.cg?raw';
|
||||
// import testCode from './test.cg?raw';
|
||||
// import counterApp from './counter.cg?raw';
|
||||
|
||||
const canvas = document.createElement('canvas') as HTMLCanvasElement;
|
||||
document.body.appendChild(canvas);
|
||||
|
||||
const cgCode = stdlibCode + '\n' + designTokensCode + '\n' + uiComponentsCode + '\n' + textInputCode;
|
||||
const cgCode = stdlibCode + '\n' +
|
||||
designTokensCode + '\n' +
|
||||
uiComponentsCode + '\n' +
|
||||
textInputCode + '\n'
|
||||
// refTest + '\n';
|
||||
|
||||
try {
|
||||
const tokens = tokenize(cgCode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue