Giter Site home page Giter Site logo

stavyan / tinyshop-uniapp Goto Github PK

View Code? Open in Web Editor NEW
1.7K 1.7K 588.0 67.38 MB

基于 RageFrame2 的一款免费开源的基础商城销售功能的开源微商城。

Home Page: http://h5.tinyshop.rageframe.com

License: Apache License 2.0

JavaScript 26.15% HTML 0.11% Vue 58.71% CSS 11.71% SCSS 3.32%
shop uniapp vue

tinyshop-uniapp's Issues

项目启动报错

error in ./src/components/uni-icons/uni-icons-rate.vue?vue&type=style&index=0&id=6bfa2fdc&lang=scss&scoped=true&

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Invalid argument(s): Unsupported output style "nested".

i18n在h5端可以,在小程序端不行的修改

路径
src/main.js
内容
const app = new Vue({
...App,
store,
i18n
});
app.$mount();

替换成

Vue.prototype._i18n = i18n; // 增加这里

const app = new Vue({
...App,
store,
// i18n 注释这里
});
app.$mount();

yarn serve h5报错

$ yarn serve h5
yarn run v1.22.4
$ npm run dev:h5 h5

[email protected] dev:h5 D:\uniapp_workspace\TinyShop-UniApp
cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve "h5"

请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。
INFO Starting development server...

uni-app 有新版本发布,请执行 npm update 更新,更新日志详见:https://update.dcloud.net.cn/hbuilderx/changelog/2.8.11.20200907.html

ERROR Failed to compile with 2 errors 15:19:33

This dependency was not found:

To install it, you can run: npm install --save D:\uniapp_workspace\TinyShop-UniApp\h5

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.