feat: add a minimal unocss template
This commit is contained in:
@@ -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;
|
||||
@@ -0,0 +1,6 @@
|
||||
import 'uno.css';
|
||||
import { render } from 'solid-js/web';
|
||||
|
||||
import App from './App';
|
||||
|
||||
render(() => <App />, document.getElementById('root') as HTMLElement);
|
||||
Reference in New Issue
Block a user