diff --git a/.gitignore b/.gitignore index fe7b381..10a258a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +public_html + # Vite node_modules .DS_Store diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index a26897b..b571963 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -64,6 +64,7 @@ function getUtils() { */ export default { title: 'Flowbite Vue 3', + outDir: '../public_html', head: [ ['link', { rel: "icon", type: "image/svg", href: "../assets/logo.svg"}], ], diff --git a/package.json b/package.json index 0294e2e..6e523ed 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,10 @@ "scripts": { "dev": "vitepress dev docs", "serve": "vitepress serve docs", - "build:docs": "vitepress build docs", - "build:package": "npm run build:types && npm run build", + "build": "vitepress build docs", + "build:package": "vite build", "build:types": "vue-tsc --declaration --emitDeclarationOnly", - "build": "vite build", + "build:production": "npm run build:types && npm run build:package", "lint": "eslint --ext .ts,.vue --ignore-path .gitignore --fix src", "format": "prettier . --write", "test": "vitest", diff --git a/src/components/Modal/Modal.vue b/src/components/Modal/Modal.vue index ab1866a..aa38a79 100644 --- a/src/components/Modal/Modal.vue +++ b/src/components/Modal/Modal.vue @@ -9,7 +9,7 @@ Terms of Service @@ -31,7 +31,6 @@ diff --git a/static.json b/static.json new file mode 100644 index 0000000..ee436ba --- /dev/null +++ b/static.json @@ -0,0 +1,6 @@ +{ + "routes": { + "/assets/*": "/assets/", + "/**": "index.html" + } +}