mirror of
https://github.com/lingke-net/koring-space.git
synced 2026-09-12 05:45:17 +08:00
基础
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import Datastore from "@seald-io/nedb";
|
||||
|
||||
const useNewsStore = new Datastore({
|
||||
filename: "./database/news.db",
|
||||
autoload: true
|
||||
});
|
||||
|
||||
export { useNewsStore };
|
||||
@@ -0,0 +1,6 @@
|
||||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
Reference in New Issue
Block a user