feat: Integrate NativeWind for styling and implement theme management with Zustand
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
const { getDefaultConfig } = require("expo/metro-config");
|
||||
const { withNativeWind } = require("nativewind/metro");
|
||||
|
||||
const config = getDefaultConfig(__dirname);
|
||||
|
||||
config.resolver.unstable_enablePackageExports = true
|
||||
config.resolver.unstable_conditionNames = [
|
||||
'require',
|
||||
'react-native',
|
||||
'default',
|
||||
]
|
||||
|
||||
module.exports = withNativeWind(config, { input: "./global.css" });
|
||||
|
||||
Reference in New Issue
Block a user