Skip to content

Commit

Permalink
Merge pull request #2 from ElMassimo/main
Browse files Browse the repository at this point in the history
use preact in iles for similar comparison
  • Loading branch information
deklanw authored Feb 17, 2022
2 parents 6f34319 + 1942715 commit d21dab4
Show file tree
Hide file tree
Showing 8 changed files with 694 additions and 299 deletions.
4 changes: 2 additions & 2 deletions iles/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ declare module 'vue' {
export interface GlobalComponents {
CommunityIcon: typeof import('./src/components/icons/CommunityIcon.vue')['default']
Container: typeof import('./src/components/Container.vue')['default']
Counter: typeof import('./src/components/Counter.vue')['default']
Counter: typeof import('./src/components/Counter.jsx')['default']
DocumentationIcon: typeof import('./src/components/icons/DocumentationIcon.vue')['default']
EcosystemIcon: typeof import('./src/components/icons/EcosystemIcon.vue')['default']
FrameworkLink: typeof import('./src/components/FrameworkLink.vue')['default']
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
Island: typeof import('./node_modules/.pnpm/[email protected].27/node_modules/iles/dist/client/app/components/Island.vue')['default']
Island: typeof import('./node_modules/.pnpm/[email protected].31/node_modules/iles/dist/client/app/components/Island.vue')['default']
SupportIcon: typeof import('./src/components/icons/SupportIcon.vue')['default']
ToolingIcon: typeof import('./src/components/icons/ToolingIcon.vue')['default']
Welcome: typeof import('./src/components/Welcome.vue')['default']
Expand Down
4 changes: 3 additions & 1 deletion iles/iles.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { defineConfig } from 'iles'

export default defineConfig({})
export default defineConfig({
jsx: 'preact',
})
15 changes: 10 additions & 5 deletions iles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@
"node": "^14.18 || >= 16.0.0"
},
"devDependencies": {
"@preact/preset-vite": "^2.1.7",
"autoprefixer": "^10.4.2",
"iles": "^0.7.19",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.17",
"typescript": "^4.5",
"vue-tsc": "^0.29"
"iles": "^0.7.31",
"postcss": "^8.4.6",
"preact-render-to-string": "^5.1.19",
"tailwindcss": "^3.0.23",
"typescript": "^4.5.5",
"vue-tsc": "^0.29.8"
},
"dependencies": {
"preact": "^10.6.6"
}
}
Loading

0 comments on commit d21dab4

Please sign in to comment.