Skip to content

Commit

Permalink
feat(katzencore): Fixed Paths
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlkatze committed Jul 19, 2024
1 parent 5e0910b commit 6ba09e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "npm run lint && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
"lint": "eslint .",
"lint": "eslint . --fix",
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
},
"dependencies": {
Expand Down
7 changes: 5 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default defineNuxtModule<ModuleOptions>({
async setup(_options, _nuxt) {
const { resolve } = createResolver(import.meta.url)

console.info('[KATZE] Module v2 installed; Running Setup')
console.info('[KATZE] Module installed;')

await installModules()
await addImports()
Expand All @@ -54,7 +54,7 @@ export default defineNuxtModule<ModuleOptions>({
})

addLayout({
src: resolve('runtime/layouts/cms.vue'),
src: resolve('runtime/layouts/cmsLayout.vue'),
})

// ADD BACKEND CMS PAGE
Expand Down Expand Up @@ -129,6 +129,9 @@ const addImports = async () => {

const installModules = async () => {
const { resolve } = createResolver(import.meta.url)
console.log('Make sure to install the following modules:')
console.log('npm install @nuxtjs/tailwindcss @nuxt/image @pinia/nuxt')

await installModule('@nuxtjs/tailwindcss', {
// module configuration
exposeConfig: true,
Expand Down

0 comments on commit 6ba09e9

Please sign in to comment.