Skip to content

Commit

Permalink
feat: add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutter45 committed Aug 18, 2024
1 parent 30552b7 commit 279f303
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 9 deletions.
7 changes: 2 additions & 5 deletions packages/docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/play/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function handlePrintError(errorLocation: 'onBeforePrint' | 'print', err: Error)
<div class="print-content">
<h1>print content</h1>
<img
alt="Google logo"
src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
alt="vue-create-print logo"
src="@/assets/logo.svg"
width="200"
>
<div>{{ b }}</div>
Expand Down
125 changes: 125 additions & 0 deletions packages/play/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/play/src/assets/vue.svg

This file was deleted.

9 changes: 8 additions & 1 deletion packages/play/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import { resolve } from 'node:path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'
// https://vitejs.dev/config/

export default defineConfig({
plugins: [vue(), UnoCSS()],
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
},
},
server: {
port: 8888,
},

})
125 changes: 125 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 279f303

Please sign in to comment.