This repository reproduces for the unsolved bug on Framer X that import of alias.
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
It should be possible to import alias on VSCode, but could not import on Framer X. I want to know how to resolve it.
Used baseUrl
{
"compilerOptions": {
...
"baseUrl": "./src",
...
},
}
I want to refer React App components.
{
"compilerOptions": {
...
"baseUrl": "../src"
},
}
Call src/components/Button.tsx
from src/App.tsx
.
import * as React from "react";
...
import Button from "components/Button";
...
Call src/components/Button.tsx
from framer.framerfx/code/Hoge.tsx
.
import * as React from "react";
import Button from "components/Button";
...
Error:Cannot find module...
😇oh...