Skip to content

Commit

Permalink
Import styles via css file
Browse files Browse the repository at this point in the history
  • Loading branch information
d0rich committed Nov 10, 2023
1 parent b5f7311 commit 51593a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/nuxt-design-system/assets/css/esprit-design.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import '@d0rich/esprit-design/style.css';
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { dirname, join } from 'path'
const currentDir = dirname(fileURLToPath(import.meta.url))

export default defineNuxtConfig({
css: ['@d0rich/esprit-design/style.css'],
css: [join(currentDir, './assets/css/esprit-design.css')],
build: {
transpile: ['gsap', 'consola']
},
Expand Down

0 comments on commit 51593a3

Please sign in to comment.