标签:rip play one theme 安装 star exp doc extjs
nodejs
npm
npm install -g yarn
yarn add next react react-dom
"scripts":{
"dev": "next",
"build": "next build",
"start": "next start"
}
mkdir pages
cd pages
touch index.js
// content
export default ()=> <div>this is the index page </div>
// run
yarm run dev
// ok 就是这么简单
https://yarnpkg.com/zh-Hans/docs/getting-started
标签:rip play one theme 安装 star exp doc extjs
原文地址:http://www.cnblogs.com/rongfengliang/p/7810185.html