-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
129 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
import { Link } from '@brillout/docpress' | ||
import { UiFrameworkExtension } from '../../components' | ||
import { BatiWidget } from './BatiWidget.tsx' | ||
import { BatiNote } from './BatiNote.tsx' | ||
|
||
<br/> | ||
<div style={{height: 30}}></div> | ||
|
||
<BatiWidget /> | ||
|
||
> **Requirement**: you need [Node.js](https://nodejs.org) installed (or Deno/Bun) which includes the package manager `npm` (you can also use any other package manager). | ||
<BatiNote /> | ||
|
||
> The scaffolded app will use Vike extensions such as <UiFrameworkExtension name />. See <Link href="/new/core">vike.dev/new/core</Link> instead if you want to scaffold an app that directly uses Vike core (without any Vike extension). | ||
<div style={{height: 10}}></div> | ||
|
||
> This scaffolder is powered by [Bati](https://github.com/vikejs/bati). | ||
> **Requirement:** you need [Node.js](https://nodejs.org) installed (or Deno/Bun). It includes the package manager `npm` (you can also use any other package manager). | ||
> Scaffolded apps use Vike extensions such as <UiFrameworkExtension name />. See <Link href="/new/core">vike.dev/new/core</Link> if you want to scaffold an app that directly uses Vike core (without any Vike extension). | ||
## See also | ||
|
||
- <Link href="/new/core" /> | ||
- <Link href="/add" /> | ||
- [GitHub > `vikejs/bati`](https://github.com/vikejs/bati) - the source code of the scaffolder above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export { BatiNote } | ||
|
||
import React from 'react' | ||
import batiLogo from './bati-logo.svg' | ||
const batiLogoSize = 16 | ||
|
||
function BatiNote() { | ||
return ( | ||
<p | ||
style={{ | ||
color: '#888', | ||
fontSize: '14px', | ||
textAlign: 'center' | ||
}} | ||
> | ||
Powered by{' '} | ||
<a href="https://github.com/vikejs/bati"> | ||
Bati{' '} | ||
<img | ||
src={batiLogo} | ||
style={{ | ||
width: batiLogoSize, | ||
height: batiLogoSize, | ||
display: 'inline-block', | ||
verticalAlign: 'text-top' | ||
}} | ||
/> | ||
</a> | ||
</p> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.