Coder Social home page Coder Social logo

关于文档构建 about dob HOT 5 CLOSED

dobjs avatar dobjs commented on May 29, 2024
关于文档构建

from dob.

Comments (5)

ascoders avatar ascoders commented on May 29, 2024

可以用我开发的脚手架 pri
这是文档:https://ascoders.github.io/pri-docs/

找个空文件夹安装 pri:

mkdir test; cd test
npm init
npm install pri

然后初始化项目文件:

npx pri init

src/page/ 直接创建 markdown 后缀的文件,会自动解析路由的,也可创建 src/layouts/markdown.tsx 作为 markdown layout。

npm start 本地运行,发布 github pages 只要增加三行配置:https://ascoders.github.io/pri-docs/features/deploy-to-github-pages

from dob.

robinson90 avatar robinson90 commented on May 29, 2024

嗯 ,基本看懂了,项目初始化之后也需要本地运行才会有dashboard操作文章的吧?然后发送到远程分支同步后会看到线上文档。感觉和hexo的静态博客操作差不多。谢啦

from dob.

ascoders avatar ascoders commented on May 29, 2024

是的,pri 是支持 react 的, hexo 也用过,嘿嘿

from dob.

robinson90 avatar robinson90 commented on May 29, 2024

很棒 脚手架这块比较盲区 可以的话 希望这方面分享一些入门以及进阶的文章。

from dob.

ascoders avatar ascoders commented on May 29, 2024

好,这周的精读正好在谈前端脚手架,可以关注下:ascoders/weekly#69

from dob.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.