@abstractball/journey-ui 中文文档教程
Journey UI
使用 Tailwind CSS 的 React 和 Next.js 的移动优先 UI 套件。
Starting Docs
这将启动一个 autodoc 服务器。 Autodoc 支持文档的热重新加载 你的项目。
npm install -g @abstractball/autodoc
autodoc start --port=3005
Hot reloading development
这将使用 gulp 创建文件监听器,编译源代码并自动复制 编译后的代码到您的项目本地。
- Copy over the ".env.example" file from the project root into a ".env" file and then change the LOCALDEVFOLDER_PATH variable to the path of a local project of yours which already has journey-ui installed.
- Run "yarn watch"
确保您的 LOCALDEVFOLDER_PATH 项目已经安装了 journey-ui。
Journey UI
A mobile first UI Kit for React and Next.js using Tailwind CSS.
Starting Docs
This will launch a autodoc server. Autodoc supports hot reloading of the documentation of your project.
npm install -g @abstractball/autodoc
autodoc start --port=3005
Hot reloading development
This will create file listeners using gulp, compile the source and automatically copy over the compiled code to your project locally.
- Copy over the ".env.example" file from the project root into a ".env" file and then change the LOCALDEVFOLDER_PATH variable to the path of a local project of yours which already has journey-ui installed.
- Run "yarn watch"
Make sure your LOCALDEVFOLDER_PATH project already has journey-ui installed.