随笔分类 -  react

摘要:react环境 1. 安装react(这个命令为全局安装) npm install g create react app 2. 创建项目 create react app 项目名称 3. 用VSCode软件打开该项目,进行编译 4. 运行代码前要在dos下进入项目文件夹,输入 npm start 命 阅读全文
posted @ 2020-05-18 11:56 hellowen2020 阅读(132) 评论(0) 推荐(0)
摘要:开发流程 1. 创建html程序 2. 引入bootstrap框架(注意引入顺序) 3. 创建网页 bootstrap引入后调用的格式: 下面是一些常用的: 阅读全文
posted @ 2020-05-16 08:06 hellowen2020 阅读(144) 评论(0) 推荐(0)
摘要:准备工作 首先要确保电脑里有node,还需要用到Android Studio和VScode。 创建项目文件命令:react native init +项目名 在Android Studio中打开:打开android下的buidl.gradle 启动项目: 1.cd +项目名(进入项目文件夹) 2.然 阅读全文
posted @ 2020-04-27 11:33 hellowen2020 阅读(3306) 评论(0) 推荐(0)