Docs site of Farm.
Install dependencies:
pnpm i
Development locally:
npm start
Merge the changes to main will automatically publish to github pages.
Documentation of Farm
Home Page: https://farm-fe.github.io
License: MIT License
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! ๐
add doc for process_generated_resources
and handle_entry_resource
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.
including the css alpha opecity
issue.
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
],
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.