You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I add an alias @ to the dir
src
, but can't import files likeimport {Router} from "@/routes"
, can anybody help me please? here is a quick demo.'@' doesn't work in src/server/index.ts, because this file is not packed by webpack.how can we make this work?
''@" also doesn't work in src/pages/_app.tsx which is supposed to be packed by webpack, why "@" can't be resolved ?
Beta Was this translation helpful? Give feedback.
All reactions