diff --git a/config/assets.config.ts b/config/assets.config.ts index 9e255087..59833359 100644 --- a/config/assets.config.ts +++ b/config/assets.config.ts @@ -23,9 +23,10 @@ export default defineConfig({ }, }, input: { + main: resolve(__dirname, '../package/src/styles/vanilla-calendar.css'), + layout: resolve(__dirname, '../package/src/styles/vanilla-calendar.layout.css'), light: resolve(__dirname, '../package/src/styles/themes/light.css'), dark: resolve(__dirname, '../package/src/styles/themes/dark.css'), - 'vanilla-calendar': resolve(__dirname, '../package/src/styles/vanilla-calendar.css'), }, }, }, diff --git a/demo/main.ts b/demo/main.ts index 44816a38..5ed1e3bc 100644 --- a/demo/main.ts +++ b/demo/main.ts @@ -1,16 +1,10 @@ // import { IOptions } from '@package/types'; // import VanillaCalendar from '@/package/build/vanilla-calendar.min'; - // import '@/package/build/vanilla-calendar.min.css'; -// import '@/package/build/themes/light.min.css'; -// import '@/package/build/themes/dark.min.css'; import { IOptions } from '@package/types'; import VanillaCalendar from '@src/vanilla-calendar'; - import '@src/styles/vanilla-calendar.css'; -import '@src/styles/themes/light.css'; -import '@src/styles/themes/dark.css'; const config: IOptions = { settings: { diff --git a/package/build/demo.html b/package/build/demo.html index 7a07b0ac..4b73eac3 100644 --- a/package/build/demo.html +++ b/package/build/demo.html @@ -1,15 +1,14 @@ - + +
- + + +