使用parcel打造一个零配置的react工作流
parcel是一个前端打包工具。因其推崇的零配置理念,和webpack形成了鲜明对比。对于我这样一个被后端IDE智能提示宠坏的猿,自然是对webpack提不起爱。平时也都是使用CLI默认配置好webpack。parcel的出现让我眼前一亮,下面我们就讲讲如何使用parcel打造一个react工作流。
初始化项目
mkdir parcel-react-demo
cd parcel-react-demo
npm init -y
此时的package,json是这样的
{
"name": "parcel-react-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
安装依赖
npm i react react-dom
npm i parcel-bundler babel-preset-react --save-dev
编辑package.json的script节点为如下内容
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --public-url ./ -d build"
},
此时的package.json看起来是这样的
{
"name": "parcel-react-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --public-url ./ -d build"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {
"babel-preset-react": "^6.24.1",
"parcel-bundler": "^1.4.1"
}
}
在根目录新增.babelrc文件,来配置babel转换
{
"presets": [
"react"
]
}
添加代码
在根目录新建index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div id='root'></div>
<script src="./src/index.js"></script>
</body>
</html>
在根目录新建src文件夹,在src中新建index.js文件
import React from 'react'
import ReactDOM from 'react-dom'
import App from './components/App'
ReactDOM.render(React.createElement(App), document.getElementById('root'))
src文件夹中再新建components文件夹,然后再components中新建App.jsx文件
import React from 'react'
export default class App extends React.Component {
render() {
return (
<div>你好parcel!</div>
)
}
}
此时我们的项目结构看起来是这样的
aaarticlea/jpeg;base64,/9j/4AAQSkZJRgABAQEAkACQAAD/2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Vmv3VsbWzjAY447859sU/UFa42Tw/4c0/U7fRdRudSbUn2LNLBs8qJ2wQuCMnGRk//AKqlj8FW/wDaetFk1G4sdPmEKRWiB55WP4YAA5JxUkGp6D4g8S2N/JZ6l/a0skQeCLZ5LyDADZ+8BxkjH+NPv/Elna6/4i068N2LO5uzIs9k4Esci8cZwCD0PNJ3v9/6CW33fqYvibw5HpFrY31tFfQ293uUw30e2WNlPOcAAg5yOKba+Hra60fR7n7Q0U19fNbOzkbEUYwcdc8+tNu7zQ7nULVZLrXJ7BQxmMzoZM442DJA98mr0/2WPwToYuxN9le/nYiMgSGPgEjPGaa0/rzB7q39aMbrXh7TrXUI9JsrfVodQkuVhja9CCKVSdu5cAHrj14qYaJ4VOs/2F9s1T7b5n2cXWE8nzc4+7jdtzx1ouPFllaaRDZaY+o3bQ3UdxE+o7f3GzkBApPXvyKT+2/Cw1j+3Vs9T+3eZ9oFqWTyfNzn733tueelC8/62/4I35EUPh7SrHQ7i+1qa8E0GoPZNDalfnKqDwWHHc5/Ss/xJo9pphsLnT5ZpLK+txNF5+N6c4KnHBwfSlvdeS+8OyWcyubyXUnvXYAbMMuMDnOc+1M1nV7fUdJ0W0hSVZLGBopS4ABJbPHPT64pO+ny/LX8Q6/f+f8AkYtFFFUIKKKKACiiigAooooAKKKKACiiigAqeyvbjTr2G8tZPLnhbcj7QcH6HioKKA3HSSNLK8jnLuxZj6k02iikAUUUUwCiiigDfXxt4hS3EKahsUR+WGWGMOFxjG8Lu/WsEksSSSSeSTSUUvMOliW2uJbS6iuYG2TROHRsA4IOQcHirWqazqGtTRy6hcmZo12INoVVHsqgAflVCimAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFAH/2Q==" alt="项目结构">
运行开发调试
parcel内建开发服务器,并支持模块热替换我们运行npm start
来执行parcel index.html
启动开发者服务器,下面是运行结果
aaarticlea/j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jPOfM2r9MU3o9fP8Ff+vmJarTy/F2PZZtRsbaQxz3lvFIOSryqp/Immx6rp0sixx39q7scKqzKST7DNcXouhaF438Maf4p8SeH9On1O8tRLMyxHGBnAGST0x3rmPh74G03xHqdp45fTLTTLFHL6Xp1mMEbWI8yVurNkcAcfrTtaTi+gr3jzI9morOufEGi2S3DXer2EAtmVZzLcovlFvuhsn5ScHGeuKsf2hZf2f8A2h9st/sWzzPtHmr5e3+9uzjHvSGWaKoabrek6ykj6XqllfLGcO1rcJKF+u0nFNXxBorSwxLq9gZJ5WhiQXKZkkXqqjPLDIyBzzQBo0Vmz+ItEtdRXTrjWNPhvnIC20l0iyknphSc8/SptR1bTdHgWfU9QtLKFm2iS5mWNSfTLEDNAFygnAya4z4i38p+Gmqaro2rSwGO386G5spF+cezYPHupB9604mlufh4juzSTS6UCzMcszGLqSepJpSdoyfb/g/5DirtLv8A8D/M31ZXXcrBge4NLXCfBpAnwn0LB6pIf/Ir13dXJcraJi7q4UUUVIwooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArwL4/f8jHpH/Xo3/oZr32vAvj9/yMekf9ejf+hmqiJnklFFFUSe7/AAA/5BGtf9fEf/oJr2GvHvgB/wAgjWv+viP/ANBNew1EtykeUN4bsPDHxZ8LLbM7PdHUru4nmbLuzKDyfQDAH0qneX174j8C/EDxPJdTtpl1DJb6bblz5YiiBUyBemWbPPXiu61rwzcap450DWc2zWNhBdRXEUpJZ/NQKABggj1yR+NY/irwv4s1KxuPDugyeHrDw1cQLBtaGQTxKfvhQvyeuP6dazabhy+TX4v9DRNKV/NP+vmUJNRvPC+qeC9Xku5jompWUOm3ULSExwylAYpACcAk5BPoK5/4h3uo+Cb3xO9xHDNF4sRLe1vRKENuVXYUdTztCsx3Dv168ewx6NZf2Raabc28V1b2yRqizxhhlANrYPGRjNc9ZeBluPEV/rniS5j1a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2yYqysFFFFSMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK8C+P3/Ix6R/16N/6Ga99rxP4zaYNR8UabvJEUdkxYqwByXOBzTiJnidFaX9g6j/zxj/7/p/jRVCPZfgB/wAgjWv+viP/ANBNew1498AP+QRrX/XxH/6Ca9hqZbjQUUUUhhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFeMfGZov7as45vs/lvbDImlZAcO3da9nrw345Xf2XXNNIigkLW33ZkDfxN0zTQmee/Z9L/556X/4GS/4UVm/2w//AD46f/4DLRVCPZfgB/yCNa/6+I//AEE17DXj3wA/5BGtf9fEf/oJr2GpluNBRRRSGFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAV4F8fv8AkY9I/wCvRv8A0M177XgXx+/5GPSP+vRv/QzVREzySiiiqJPd/gB/yCNa/wCviP8A9BNew1498AP+QRrX/XxH/wCgmvYaiW5SCiiikMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArwL4/f8jHpH/Xo3/oZr32vAvj9/yMekf9ejf+hmqiJnklFFFUSe7/AD/kEa1/18R/8AoJr2GvHvgB/yCNa/6+I//QTXsNRLcpBRRRSGFFFFAB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OPO+ZRkbz6/j0pxEzy//hD9Q/57Wv8A303/AMTRXb80U7hY6D4Af8gjWv8Ar4j/APQTXsNePfAD/kEa1/18R/8AoJr2GlLcEFFFFIYUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABXg/wAc3WLxfoMjnCrBuJ9AJK94rwL4/f8AIx6R/wBejf8AoZqoiZi/8JLpH/P3/wCQ3/worz6inYVz3f4Af8gjWv8Ar4j/APQTXsNePfAD/kEa1/18R/8AoJr2GpluNBRRRSGFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAV4F8fv+Rj0j/r0b/0M177XgXx+/wCRj0j/AK9G/wDQzVREzySiiiqJPd/gB/yCNa/6+I//AEE17DXj3wA/5BGtf9fEf/oJr2GoluUgooopDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK8C+P3/Ix6R/16N/6Ga99rxH42aW2peINO2SbXjtcBSv3sue+eKcRM8VorsP+ETtf+e0n5UVQrHo/wAAP+QRrX/XxH/6Ca9hrx74Af8AII1r/r4j/wDQTXsNTLcaCiiikMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAr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DQGsf9AWx/77ejlC57/RXgH/DQGsf9AWx/77ej/hoDWP8AoC2P/fb0coXPf6K8A/4aA1j/AKAtj/329H/DQGsf9AWx/wC+3o5Que/0V4B/w0BrH/QFsf8Avt6P+GgNY/6Atj/329HKFz3+ivAP+GgNY/6Atj/329H/AA0BrH/QFsf++3o5Que/0V4B/wANAax/0BbH/vt6P+GgNY/6Atj/AN9vRyhc9/orwD/hoDWP+gLY/wDfb0f8NAax/wBAWx/77ejlC57/AEV4B/w0BrH/AEBbH/vt6P8AhoDWP+gLY/8Afb0coXPf6K8A/wCGgNY/6Atj/wB9vR/w0BrH/QFsf++3o5Que/0V4B/w0BrH/QFsf++3o/4aA1j/AKAtj/329HKFz3+ivAP+GgNY/wCgLY/99vR/w0BrH/QFsf8Avt6OULnv9FeAf8NAax/0BbH/AL7ej/hoDWP+gLY/99vRyhc9/orwD/hoDWP+gLY/99vR/wANAax/0BbH/vt6OULnv9FeAf8ADQGsf9AWx/77ej/hoDWP+gLY/wDfb0coXPf6K8A/4aA1j/oC2P8A329H/DQGsf8AQFsf++3o5Que/wBFeAf8NAax/wBAWx/77ej/AIaA1j/oC2P/AH29HKFz3+ivAP8AhoDWP+gLY/8Afb0f8NAax/0BbH/vt6OULnv9FeFWvxz1i5guZP7JsV8hN+Nznd+tVf8AhoDWP+gLY/8Afb0uULnv9eBfH7/kYtI/69G/9DNJ/wAL/wBY/wCgLY/99vXLfETxTc+KdS0+e6t4oXjtuPKzghjnvTSsDZx1Fb3/AAjf/T3/AOQ//r0UxH//2Q==" alt="调试结果">
异步组件
在单页应用开发中,为了减少首屏加载时间,异步组件是很常用的做法,parcel对异步组件功能也进行了内置,下面我们就来实现一个react的异步组件。
在components文件夹新增Loading.jsx文件,此组件在异步组件还未加载时起到占坑作用
import React from 'react'
export default class extends React.Component {
render() {
return (
<div>正在加载</div>
)
}
}
在components文件夹新增MyComponent.jsx文件,这是我们要异步加载的组件
import React from 'react'
export default class extends React.Component {
render() {
return (
<div>我的组件</div>
)
}
}
修改App.jsx为下面代码
import React from 'react'
import Loading from './Loading.jsx'
export default class App extends React.Component {
constructor() {
super();
this.state = {
AsyncComponent: Loading
}
}
componentDidMount() {
import('./MyComponent.jsx').then(rsp => {
setTimeout(() => {
this.setState({
AsyncComponent: rsp.default
})
}, 1000)
})
}
render() {
return (
<this.state.AsyncComponent></this.state.AsyncComponent>
)
}
}
parcel支持使用import()来异步加载文件,并返回一个promise,我们在组件挂在后异步获取Muconponent组件,并赋值给this.state.AsyncComponent
打包
parcel的打包也是及其友好,只需于心parcel build index.html就可以,不过我们需要对生成传入一些参数,来生成我们需要的程序路径运行npm run build
来执行parcel build index.html --public-url ./ -d build
顺利执行后你会发现在项目根目录生成了一个build文件夹,直接部署就可以了。
使用parcel打造一个零配置的react工作流的更多相关文章
- 从零配置webpack(react+less+typescript+mobx)
本文目标 从零搭建出一套支持react+less+typescript+mobx的webpack配置 最简化webpack配置 首页要初始化yarn和安装webpack的依赖 yarn init -y ...
- Parcel.js + Vue 2.x 极速零配置打包体验
继 Browserify.Webpack 之后,又一款打包工具 Parcel 横空出世 Parcel.js 的官网有这样的自我介绍 “极速零配置Web应用打包工具” 简单接触了一下,单从效率上来说,确 ...
- Parcel + Vue 2.x 极速零配置打包体验
继 Browserify.Webpack 之后,又一款打包工具 Parcel 横空出世 Parcel.js 的官网有这样的自我介绍 “极速零配置Web应用打包工具” 简单接触了一下,单从效率上来说,确 ...
- Parcel极速零配置Web应用打包工具
当听到极速零配置打包,我不经兴奋起来,零配置!!!想起在webpack打包的配置,这个零配置着实让我好奇不已,迅速学习一波. Parcel(parcel 英[ˈpɑ:sl] 美[ˈpɑ:rsl])有以 ...
- 【前端vue进阶实战】:从零打造一个流程图、拓扑图项目【Nuxt.js + Element + Vuex】 (一)
本系列教程是用Vue.js + Nuxt.js + Element + Vuex + 开源js绘图库,打造一个属于自己的在线绘图软件,最终效果:topology.le5le.com .如果你觉得好,欢 ...
- 【Parcel 2 + Vue 3】从0到1搭建一款极快,零配置的Vue3项目构建工具
前言 一周时间,没见了,大家有没有想我啊!哈哈!我知道肯定会有的.言归正传,我们切入正题.上一篇文章中我主要介绍了使用Vite2+Vue3+Ts如何更快的入手项目.那么,今天我将会带领大家认识一个新的 ...
- 一个简单的零配置命令行HTTP服务器
http-server 是一个简单的零配置命令行HTTP服务器, 基于 nodeJs. 如果你不想重复的写 nodeJs 的 web-server.js, 则可以使用这个. 安装 (全局安装加 -g) ...
- 一个简单的零配置命令行HTTP服务器 - http-server (nodeJs)
http-server 是一个简单的零配置命令行HTTP服务器, 基于 nodeJs. 如果你不想重复的写 nodeJs 的 web-server.js, 则可以使用这个. 安装 (全局安装加 -g) ...
- 详解Parcel:快速,零配置web应用打包工具。
译者按: 新一代Web应用打包工具Parcel横空出世,快速.零配置的特点让人眼前一亮. 原文: Everything You Need To Know About Parcel: The Blazi ...
随机推荐
- Xamarin android spinner的使用方法
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=&quo ...
- bzoj 4868: [Shoi2017]期末考试
Description 有n位同学,每位同学都参加了全部的m门课程的期末考试,都在焦急的等待成绩的公布.第i位同学希望在第ti天 或之前得知所.有.课程的成绩.如果在第ti天,有至少一门课程的成绩没有 ...
- MySQL安装的三种方式
.markdown-preview:not([data-use-github-style]) { padding: 2em; font-size: 1.2em; color: rgb(171, 178 ...
- js设置元素class方法小结及classList相关
给DOM元素设置class是我们在项目中非常容易遇到的,网上的资料和总结也比较多,下面比较全面的整理一下,希望给到大家一些帮助!并引用两种成熟的classList的兼容方法 一.el.setA ...
- 通过pyenv和virtualenv创建多版本Python虚拟环境
虚拟环境使用第三方工具virtualenv创建,首先输入以下命令检查系统是否已经安装virtualenv. $ virtualenv --version 如果显示virtualenv版本号,则说明已经 ...
- jQuery实现移动端评测问卷功能
效果图: 需求: 1.有10道测试题目,单选,选中答案之后,500ms后自动跳转至下一题 2.如果当前题目没有选择答案,将弹窗提示"请选择答案!" 3.点击"上一题&qu ...
- Android-AnsyncTask异步任务
同步和异步的概念区别: 同步,必须执行完成某个问题后才能继续执行其他的. 异步,我会去先执行其他问题,你执行完之后返回给我一个结果就可以. android中为什么要引用异步任务呢 android启动的 ...
- RPC-非阻塞通信下的同步API实现原理,以Dubbo为例
Netty在Java NIO领域基本算是独占鳌头,涉及到高性能网络通信,基本都会以Netty为底层通信框架,Dubbo 也不例外.以下将以Dubbo实现为例介绍其是如何在NIO非阻塞通信基础上实现同步 ...
- php写一个简洁的登录页面
在学php中,刚刚看完实战演练就写了个登录页面 1.表单解析图 这是我们要写的 先用html写个表单先 <html> <head> <title>login< ...
- KinectFusion解析
三维重建是指获取真实物体的三维外观形貌,并建立可复用模型的一种技术.它是当下计算机视觉的一个研究热点,主要有三方面的用途:1)相比于二维图像,可以获取更全面的几何信息:2)在VR/AR中,建立真实 ...