![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nuxt
阿之阿佐
小小的一枚努力型前端
展开
-
nuxt 使用typescript引入node模块报错
These dependencies were not found: friendly-errors 10:27:16 friendly-errors 10:27:16* child_process in ./node_modules/@se.原创 2021-07-30 10:31:40 · 731 阅读 · 0 评论 -
nuxt定制vant主题
1、npm install babel-plugin-import less less-loader path -D注意:less-loader版本为5.0.02、plugin/vant-ui.jsimport Vue from 'vue'import {Toast } from 'vant'Vue.use(Toast)// 将所有 Toast 的展示时长设置为 2000 毫秒Toast.setDefaultOptions({ duration: 3000 });Vue.protot原创 2021-07-13 11:44:13 · 394 阅读 · 0 评论 -
nuxt 引入全局scss文件,mixins,function或变量等
https://www.npmjs.com/package/@nuxtjs/style-resourcesexport default { buildModules: [ '@nuxtjs/style-resources', ], styleResources: { // your settings here sass: [], scss: [], less: [], stylus: [], hoistUseStatements: true原创 2021-07-08 16:11:28 · 1240 阅读 · 0 评论