Skip to content

Commit

Permalink
chore: release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed May 25, 2022
1 parent d654e2a commit 658a2c5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
10 changes: 10 additions & 0 deletions example/src/demos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ export const routes = [
name: "Invisible",
show: true
},
{
route: {
path: "/basic",
component: lazy(() => import("./basic"))
},

name: "Basic",
show: true
},

{
route: {
path: "/",
Expand Down
2 changes: 1 addition & 1 deletion example/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const AppRouting: Component = () => {
/** Using an hash router for GitHub Pages. */
source={hashIntegration()}
>
<h1>solid-hcaptcha</h1>
<Link href="/"><h1>solid-hcaptcha</h1></Link>
<p>A Solid component wrapper for the hCaptcha widget.</p>

<ul>
Expand Down
9 changes: 8 additions & 1 deletion example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ export default defineConfig({
},

/** Based on the GitHub Pages deploy URL. */
base: "/solid-hcaptcha/"
base: "/solid-hcaptcha/",

/** Allow serving files from one level up to the project root. */
server: {
fs: {
allow: [".."]
}
}
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solid-hcaptcha",
"description": "Unofficial port of react-hcaptcha for Solid.",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"source": "./src/index.tsx",
"module": "./dist/esm/index.js",
Expand Down

0 comments on commit 658a2c5

Please sign in to comment.