摘要:
1.在/assets路径下增加css文件,并增加铭文global.css的全局css文件 2.在nuxt.config.js文件的css数组里增加代码'@/assets/css/global.css'即可启用全局样式 阅读全文
摘要:
1.执行npm run dev发现项目报错 This relative module was not found: ./header-top.vue?vue&type=style&index=0&id=2e49b8a8&lang=less&scoped=true& in ./components/h 阅读全文
摘要:
一丶知米易项目创建过程 1.执行 "npx create-nuxt-app online" 创建项目,其中 "online"是项目名 2.填写项目名,因为在第一步的时候已经指定了项目名是"online",所以不用填写,直接回车就行了 3.选择JavaScript作为脚本语言 4.选择npm作为包管理 阅读全文