f2e-awesome / knowledge Goto Github PK
View Code? Open in Web Editor NEW文档着重构建一个完整的「前端技术架构图谱」,方便 F2E(Front End Engineering又称FEE、F2E) 学习与进阶。
文档着重构建一个完整的「前端技术架构图谱」,方便 F2E(Front End Engineering又称FEE、F2E) 学习与进阶。
https://reactnative.cn/docs/0.51/getting-started.html
https://www.jianshu.com/p/abfb55c60684
https://github.com/reactnativecn/react-native-guide
1.进入项目文件 >
2.运行 npm start 启动项目
npm run ios 启动iOS版
npm run android 启动android版
https://www.jianshu.com/p/a7416ec82f6d webview 详解
https://www.jianshu.com/p/abfb55c60684 《React Native高效开发》之 create-react-native-app
https://reactnative.cn/docs/0.51/getting-started.html 搭建开发环境
https://www.jianshu.com/p/91fa0f34895e ReactNative的Navigator组件使用方式
https://www.jianshu.com/p/a69829206ac5 Ionicons官网图标
https://www.jianshu.com/p/96d5c66791c3 React-Native使用自定义字体文件iconfont
https://blog.csdn.net/Marno__/article/details/71809757?locationNum=7&fps=1 50个react native项目
https://blog.csdn.net/chichengjunma/article/details/52920137 react native 第三方组件汇总
https://blog.csdn.net/vv_bug/article/details/6119556React Native 自定义ProgressBar(双平台)
https://www.jianshu.com/p/b7788c3d106e [React Native]react-native-scrollable-tab-view(入门篇)
解决方法 import {PropTypes} from 'prop-types';
例:import { channelData } from '../dataChannel’
this._pressRow(错误)
this._pressRow.bind(this)(正确)
$yarn remove babel-preset-react-native 卸载模块
$yarn add [email protected] 安装组件指定版本
react-navigation
does not exist in the Haste module map or in these directories(导航控制器已经添加过了,但是还报这个错)
解决办法:
先卸载这个模块: npm uninstall react-navigation
然后重新安装: yarn add react-navigation
https://www.jianshu.com/p/96d5c66791c3
a.浏览到node_modules/react-native-vector-icons目录,然后选中 Fonts 目录,将Fonts目录中的所有文件
拷贝到工程文件目录下,然后将Fonts目录拖到工程文件中,记得勾选Create Groups复选框。
b.编辑Info.plist文件,添加自定义字体的名称。
fetch('http://ip.taobao.com/service/getIpInfo.php?ip=59.108.51.32’,{
method: 'GET’,
}).then((response) => {
console.log(response);//1
}).catch((err) => {//2
console.error(err);
});
安装命令 yarn add react-native-vector-icons
在页面里面引用 import Icon from 'react-native-vector-icons/Ionicons’
import {
StyleSheet,
Text,
Image,
View,
TouchableWithoutFeedback
} from 'react-native';
const styles= StyleSheet.create({
keywords: {
flexDirection: "row",
},
});
使用方法
style={styles.keywords}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.