GithubHelp home page GithubHelp logo

farm-fe / farm-fe.github.io Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 33.0 43.92 MB

Documentation of Farm

Home Page: https://farm-fe.github.io

License: MIT License

JavaScript 8.93% CSS 6.62% MDX 46.14% TypeScript 30.85% SCSS 7.47%
farm docs

farm-fe.github.io's Introduction

Farm docs

Docs site of Farm.

Install dependencies:

pnpm i

Development locally:

npm start

Merge the changes to main will automatically publish to github pages.

farm-fe.github.io's People

Contributors

a-caibird avatar ahhhsaturn avatar callqh avatar ccherry07 avatar cihanyakar avatar erkelost avatar eryue0220 avatar gustavocadev avatar heygsc avatar idleberg avatar ihoey avatar illume avatar joaopalmeiro avatar limuen avatar nirvana-jie avatar oblador avatar oscarfsbs avatar rss1102 avatar sajarin-m avatar shubh73 avatar shulandmimi avatar siyou avatar stefafafan avatar tekacs avatar tthzwq avatar ufec avatar valcosmos avatar water-in-stone avatar wre232114 avatar xuexb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

farm-fe.github.io's Issues

Invalid template in some of the commands to create new Farm projects on the Quick Start page

Hi! ๐Ÿ‘‹

When trying to create a new Farm project from one of the npm commands (npm 7+) available on the Quick Start page of the documentation, I got this error:

npm create farm@latest my-vue-app -- --template vue

 โšก Welcome To Farm !



 error: failed to parse 'vue': vue is not a valid template. Valid templates are [vanilla, react, vue3, vue2, lit, svelte, solid, preact, nestjs, tauri, tauri-React - (https://react.dev/), tauri-Vue3 - (https://vuejs.org/), tauri-Vanilla, tauri-Svelte - (https://svelte.dev/), tauri-Solid - (https://solidjs.com/), tauri-Preact - (https://preactjs.com/), electron, electron-React - (https://react.dev/), electron-Vue3 - (https://vuejs.org/), electron-Vanilla, electron-Svelte - (https://svelte.dev/), electron-Solid - (https://solidjs.com/), electron-Preact - (https://preactjs.com/)]

npm ERR! code 1
npm ERR! path /Users/joao.palmeiro/Documents
npm ERR! command failed
npm ERR! command sh -c create-farm my-vue-app --template vue

npm ERR! A complete log of this run can be found in: /Users/joao.palmeiro/.npm/_logs/2024-06-22T08_02_31_878Z-debug-0.log

I think it's because the vue template doesn't exist (the Vue-related templates are the vue3 and vue2 templates). Furthermore, these commands are not consistent with each other as Yarn's, for example, uses the react template. So, I think it would be useful to standardize the template chosen in these commands for react or vue3 (and the project folder name if necessary).

Let me know your thoughts and if I can open a PR!

Thanks! ๐Ÿ˜„

Remove CSS that prohibits text selection

The current page is disabled by CSS and cannot select text. When I tried to copy some configuration files, I encountered obstacles and had to use the copy function of the code block to make the changes again.
This undoubtedly increases the workload of usage.

Update minify docs

  • And introduce how to debug production issues
  • add description for minify.moduleDecl
  • add description for bundle size optimization

Remove the Glowing strips in Documentation

image

these diagonal strips make the documentation harder to read.
Even though its a nice touch for the site, it distracts users from reading the docs. Especially when scrolling.

Replace Docusaurus OG Image

image

It seems that farm's documentation site still points to Docusaurus OG Image. I would fix this sooner rather than later considering the v1 release hype.

Update Rust Plugin Usage Doc

since 1.3.0, rust plugins can be used the same as js plugins:

import farmPlugin from 'farm-plugin-xxx'; // import farm rust plugin

export default {
  plugins: [
    farmPlugin() // use rust plugin the same as js plugin
   ],
}

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.