Skip to content

Commit

Permalink
修改版本号和控制台bandage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaocz committed Jan 19, 2022
1 parent 5c1bba7 commit 32cc1f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "hulili-vue-ts",
"version": "0.1.0",
"name": "huli.li",
"version": "0.2.1",
"description": "狐狸狸的小窝,试手Vue-ts",
"homepage": "https://huli.li",
"author": "Orangii|橙梓",
"author": {
"name": "Orangii|橙梓",
"email": "me@orangii.cn",
"url": "https://orangii.cn/"
},
"repository": {
"type": "git",
"url": "https://github.com/Jiaocz/huli.li"
Expand Down
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ let weather = ref<IWeather>();
const weatherNow = await realtimeWeather(position.value);
weather.value = weatherNow;
})();
console.log('%c狐狸狸的小窝 - huli.li%chttps://huli.li/%chttps://github.com/Jiaocz/huli.li', 'color: rgba(255,255,255,.8); background: #e4a240; border-radius: 5px 0 0 5px; margin: 0; border: #e4a240 1px solid; padding: .5em; font-weight: bold;', 'color: #e4a240; border: 1px #e4a240 solid; border-radius: 0; padding: .5em;','color: #e4a240; border: 1px #e4a240 solid; border-radius: 0 5px 5px 0; padding: .5em;');
</script>

<template>
Expand Down
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { createApp } from 'vue'
import { author, name, version } from '../package.json'
import App from './App.vue'

console.log(`%c${name}%chttps://huli.li/%chttps://github.com/Jiaocz/huli.li`, 'color: rgba(255,255,255,.8); background: #e4a240; border-radius: 5px 0 0 5px; margin: 0; border: #e4a240 1px solid; padding: .5em; font-weight: bold;', 'color: #e4a240; border: 1px #e4a240 solid; border-radius: 0; padding: .5em;','color: #e4a240; border: 1px #e4a240 solid; border-radius: 0 5px 5px 0; padding: .5em;');
console.log(`%cAuthor%c${author.name}%c${author.url}`, 'color: rgba(255,255,255,.8); background: #e4a240; border-radius: 5px 0 0 5px; margin: 0; border: #e4a240 1px solid; padding: .2em .4em; font-weight: bold; font-size: 12px;', 'color: #e4a240; border: 1px #e4a240 solid; border-radius: 0; margin: 0; padding: .2em .4em; font-size: 12px;','color: #e4a240; border: 1px #e4a240 solid; border-radius: 0 5px 5px 0; padding: .2em .4em; margin: 0; font-size: 12px;');
console.log(`%cVersion: %c${version}`, 'color: rgba(255,255,255,.8); background: #e4a240; border-radius: 5px 0 0 5px; margin: 0; border: #e4a240 1px solid; padding: .2em .4em; font-weight: bold; font-size: 12px;', 'color: #e4a240; border: 1px #e4a240 solid; border-radius: 0 5px 5px 0; padding: .2em .4em; font-size: 12px;');
createApp(App).mount('#app')

0 comments on commit 32cc1f0

Please sign in to comment.