-
import postcssPxToViewport from "postcss-px-to-viewport"的ts
无法找到模块“postcss-px-to-viewport”的声明文件。
尝试使用 `npm i --save-dev @types/postcss-px-to-viewport` (如果存在),或者添加一个包含 `declare module 'postcss-px-t…
-
[PostCSS - a tool for transforming CSS with JavaScript](http://postcss.org/)
[postcss-cssnext features](http://cssnext.io/features/)
-
It is not possible to make it work in with version 1.0.0-beta2, I am working with nuxt 2.17 and vue 2.7
** The following error is displayed **
document is not defined
![image](https://github.c…
-
有一个需求,不同分辨率的显示器下,maxDisplayWidth属性怎么按照显示器的分辨率百分比动态变化?
-
**概念**
(1)**物理像素(physical pixel)**
一个物理像素是显示器(手机屏幕)上最小的物理显示单元(像素颗粒),在操作系统的调度下,每一个设备像素都有自己的颜色值和亮度值。 如:iPhone6上就有750*1334个物理像素颗粒。
(2)**设备独立像素(density-independent pixel)**
设备独立像素(也叫密度无关像素),可以认为…
-
### Description
This group defined a number of [projects/goals for 2023](https://github.com/nodejs/package-maintenance/issues/550) & one of them was to create a new "statusboard" (similar to npm's …
-
### Describe the bug
Components({
// allow auto load markdown components under `./src/components/`
extensions: ['vue', 'md'],
// allow auto import and register components use…
-
### Duplicates
- [X] I have searched the existing issues
### Latest version
- [X] I have tested the latest version
### Steps to reproduce 🕹
_No response_
### Current behavior 😯
Sorry my English…
-
目前 `nuxt@3.11.2` + 这个插件最新版本,好像不太能支持,行内样式的转换
**nuxt.config.ts** 配置文件
```js
import postcsspxtoviewport from 'postcss-px-to-viewport-8-plugin'
// https://nuxt.com/docs/api/configuration/nuxt-co…
-
## webpack的基本配置
安装webpack相关工具:
`$ npm i -D webpack webpack-cli webpack-dev-server webpack-merge`
在`config`目录下新建几个文件:`config.js`, `webpack.base.js`, `webpack.prod.js`, `webpack.dev.js`, `build.j…