Skip to content

Commit

Permalink
chore: update homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Oct 3, 2024
1 parent 881b76b commit 45bf260
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
20 changes: 2 additions & 18 deletions docs/docs/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,11 @@ The project is configured by `farm.config.ts/js/mjs` file in the root directory

```ts title="farm.config.ts"
import { defineConfig } from "@farmfe/core";
import react from '@farmfe/plugin-react';

export default defineConfig({
// Options related to the compilation
compilation: {
input: {
// can be a relative path or an absolute path
index: "./index.html",
},
output: {
path: "./build",
publicPath: "/",
},
// ...
},
// Options related to the dev server
server: {
port: 9000,
// ...
},
// Additional plugins
plugins: [],
plugins: [react()],
});
```

Expand Down
1 change: 0 additions & 1 deletion docs/src/theme/CodeBlock/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: #f8f9fa;
transition: box-shadow 0.3s ease;
}

Expand Down
1 change: 0 additions & 1 deletion docs/src/theme/CodeBlockShiki/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: #f8f9fa;
transition: box-shadow 0.3s ease;
}

Expand Down

0 comments on commit 45bf260

Please sign in to comment.