摘要:
基于1280尺寸。 支持scss。 支持px2rem。 开发,打包,上线。 很好用。 有了Vue,各种插件都可以使用,路由也可以使用。 最后一打包,什么都ok。 阅读全文
posted @ 2021-04-30 17:16
TBHacker
阅读(68)
评论(0)
推荐(0)
摘要:
gsettings set com.canonical.Unity.Launcher launcher-position Bottom 阅读全文
posted @ 2021-04-30 13:52
TBHacker
阅读(117)
评论(0)
推荐(0)
摘要:
// vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { chainWebpack: config => { config .plugin('html') .tap(args => { a 阅读全文
posted @ 2021-04-30 10:27
TBHacker
阅读(14235)
评论(0)
推荐(1)
摘要:
1、安装 npm install postcss-plugin-px2rem --save-dev 2、引入配置 // vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { css: { l 阅读全文
posted @ 2021-04-30 10:15
TBHacker
阅读(424)
评论(0)
推荐(0)
摘要:
父视图,通过属性传入参数 <template> <div class="home"> <Index name="Zhang" age="18"/> </div> </template> <script> import Index from '@/components/Index.vue' expor 阅读全文
posted @ 2021-04-30 09:57
TBHacker
阅读(56)
评论(0)
推荐(0)
摘要:
import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [ { path: '/', name: ' 阅读全文
posted @ 2021-04-30 09:53
TBHacker
阅读(1145)
评论(0)
推荐(0)
摘要:
sudo cnpm install -g vue-cli 这样脚手架创建项目更加的快。 vue create demo 阅读全文
posted @ 2021-04-30 09:28
TBHacker
阅读(363)
评论(0)
推荐(0)