Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
ben99933 committed Feb 6, 2024
1 parent bd92042 commit 18b4f56
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# 将静态内容部署到 GitHub Pages 的简易工作流程
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# 仅在推送到默认分支时运行。
# Runs on pushes targeting the default branch
push:
branches: ['main']

# 这个选项可以使你手动在 Action tab 页面触发工作流
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# 允许一个并发的部署
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
# 单次部署的工作描述
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
Expand Down
20 changes: 10 additions & 10 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import './assets/css/style.css'
import "./assets/css/tailwind.css"
import './assets/css/style.css';
import "./assets/css/tailwind.css";

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createApp } from 'vue';
import { createPinia } from 'pinia';

import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { fas } from '@fortawesome/free-solid-svg-icons'
import { library } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { fab } from '@fortawesome/free-brands-svg-icons';
import { fas } from '@fortawesome/free-solid-svg-icons';

import App from './App.vue'
import router from './router'
import App from './App.vue';
import router from './router';

library.add(fab);
library.add(fas);
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
// import HomeView from '../views/HomeView.vue'

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
Expand Down

0 comments on commit 18b4f56

Please sign in to comment.