提交 40542468 编写于 作者: W weixin_44463441

Wed Jan 17 17:57:00 CST 2024 inscode

上级 7a093d7e
run = "npm i && npm run dev"
language = "node"
[deployment]
build = "npm i && npm run build"
......@@ -8,3 +9,6 @@ run = "npm run preview"
PATH = "/root/${PROJECT_DIR}/.config/npm/node_global/bin:/root/${PROJECT_DIR}/node_modules/.bin:${PATH}"
XDG_CONFIG_HOME = "/root/.config"
npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global"
[debugger]
program = "main.js"
......@@ -12,6 +12,9 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.1",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"vite": "^3.0.1"
}
}
......@@ -7,7 +7,10 @@ import TheWelcome from './components/TheWelcome.vue'
<header>
<img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
<div class="wrapper">
<div class="wrapper bg-slate-300">
<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
<HelloWorld msg="You did it!" />
</div>
</header>
......
import { createApp } from 'vue'
import App from './App.vue'
import './assets/main.css'
import './style.css'
// import './assets/main.css'
createApp(App).mount('#app')
@tailwind base;
@tailwind components;
@tailwind utilities;
\ No newline at end of file
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册