Skip to content

Commit

Permalink
fix: reset example
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Aug 1, 2023
1 parent 577c674 commit b6cedbb
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 47 deletions.
4 changes: 1 addition & 3 deletions examples/app-config/ice.config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { defineConfig } from '@ice/app';

export default defineConfig(() => ({
ssg: false,
}));
export default defineConfig(() => ({}));
1 change: 1 addition & 0 deletions examples/app-config/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export default defineAppConfig(() => ({
},
router: {
type: 'browser',
basename: '/ice',
},
}));
1 change: 0 additions & 1 deletion examples/app-config/src/assets/robot.txt

This file was deleted.

3 changes: 0 additions & 3 deletions examples/app-config/src/components/bar.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions examples/app-config/src/pages/[index].tsx

This file was deleted.

3 changes: 0 additions & 3 deletions examples/app-config/src/pages/a/b/index.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions examples/app-config/src/pages/a/b/layout.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions examples/app-config/src/pages/a/layout.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions examples/app-config/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import textContext from '../assets/robot.txt?url';

console.log('test', textContext);

export default function Home() {
return <h1>home</h1>;
}
10 changes: 0 additions & 10 deletions examples/app-config/src/pages/layout.tsx

This file was deleted.

0 comments on commit b6cedbb

Please sign in to comment.