feat: add a minimal unocss template

This commit is contained in:
Martin Oppitz
2022-02-01 02:22:34 +01:00
parent 1b9295413b
commit 3bd2a41438
12 changed files with 2140 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { Component } from 'solid-js';
const App: Component = () => {
return (
<p class="text-4xl text-green-700 text-center py-20">
Hello <a class="text-pink-600 hover:font-bold hover:border-1" href="https://antfu.me/posts/reimagine-atomic-css" target="atomic-css">Atomic CSS</a>!
</p>
);
};
export default App;
+6
View File
@@ -0,0 +1,6 @@
import 'uno.css';
import { render } from 'solid-js/web';
import App from './App';
render(() => <App />, document.getElementById('root') as HTMLElement);