Replies: 1 comment
-
Hello @junaid33 Thank you for trying it out! While there are subtle differences, the most important ones are the following:
You can use process.env.EXPO_ROUTER_APP_ROOT = '../../app.native';
process.env.TAMAGUI_TARGET = 'native';
module.exports = function (api) {
api.cache(true)
return {
presets: [['babel-preset-expo', { jsxRuntime: 'automatic' }]],
plugins: [
require.resolve('expo-router/babel'),
// if you want reanimated support
'react-native-reanimated/plugin',
[
'@tamagui/babel-plugin',
{
config: './tamagui',
components: ['tamagui'],
},
],
[
'transform-inline-environment-variables',
{
include: ['TAMAGUI_TARGET','EXPO_ROUTER_APP_ROOT'],
},
],
],
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, great work on the Luna template. I'm looking to use tamagui and was wondering what was the difference between your template and the official tamagui one?
Beta Was this translation helpful? Give feedback.
All reactions