Skip to content
#

vitejs

Here are 1,475 public repositories matching this topic...

ladle
davidpfahler
davidpfahler commented Apr 14, 2022

I have stories for simple components that work fine. But once I click on a story for a component that uses the next/image component, nothing renders and ladle is broken until reload. Once I clock on a story with next/image the following error occurs in the console:

react.development.js:1309 Uncaught ReferenceError: process is not defined
    at node_modules/next/dist/client/normalize-
documentation good first issue
chrome-extension-tools
DetachHead
DetachHead commented Apr 21, 2022

Build tool

Vite

Where do you see the problem?

  • In the browser
  • In the terminal

Describe the bug

when running tsc on my vite.config.ts, i get the following errors:

node_modules/rollup-plugin-chrome-extension/dist/index.d.ts:26:13 - error TS2503: Cannot find namespace 'chrome'.

26     icons?: chrome.runtime.ManifestIcons | undefined;
               ~~~~~~

bug good first issue
kagol
kagol commented May 9, 2022

What problem does this feature solve

目前的组件class命名不符合规范,需要统一成BEM风格。

可以参考下这个文档:
https://github.com/DevCloudFE/vue-devui/wiki/Vue-DevUI-%E7%BB%84%E4%BB%B6%E5%BA%93%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3#6-%E6%A0%B7%E5%BC%8F%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83

What does the proposed API look like

具体重构方法可以参考以下文档和现有已经重构好的组件,比如Button、Modal等。

可以参考下这个文档:
https://github.com/DevCloudFE/vue-de

good first issue refactoring

Improve this page

Add a description, image, and links to the vitejs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vitejs topic, visit your repo's landing page and select "manage topics."

Learn more