Giter Club home page Giter Club logo

Comments (3)

qiu8310 avatar qiu8310 commented on August 24, 2024

使用 wxp 方式没错,并且 wxp 相关的文件确实也存在;怀疑可能使用开发者工具的问题。

你可以试试使用其它 npm 包,看是不是一样有这种问题。

from minapp.

csd998aaa avatar csd998aaa commented on August 24, 2024

使用 wxp 方式没错,并且 wxp 相关的文件确实也存在;怀疑可能使用开发者工具的问题。

你可以试试使用其它 npm 包,看是不是一样有这种问题。

我也是出了这个问题

thirdScriptError 
 sdk uncaught third Error 
 module "pages/index/@minapp/wx/wxp" is not defined 
 Error: module "pages/index/@minapp/wx/wxp" is not defined

构建 后 项目根目录有生成miniprogram_npm这个文件。

from minapp.

qiu8310 avatar qiu8310 commented on August 24, 2024

我的包没有按照小程序的规范发布,这个包还是在小程序支持 npm 之前发的,所以不支持

你可以拉下源码来放你本地,另外那个包很多补全也没更新了,更新太麻烦,可以参考这个项目放你本地 https://github.com/wx-minapp/minapp-example-custom-wx

from minapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.