GithubHelp home page GithubHelp logo

web-logs2 / nutui-demo-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jevense/nutui-demo

0.0 0.0 0.0 3.82 MB

nutui demo (vite 、vue/cli、cdn、ts)多种模式使用示例

JavaScript 13.85% TypeScript 29.72% CSS 1.88% HTML 3.61% Vue 48.57% SCSS 2.36%

nutui-demo-1's Introduction

NutUI 示例

本目录下包含基于 Vue CLI、Vite 搭建 NutUI 2.x、3.x 的相关示例

目录

cdn

cdn 目录下包含了通过 CDN 引入 NutUI 的示例,在浏览器内打开 cdn/index.html 即可查看效果。

  • index.html 全局引入nutui
  • custom.html cnd按需加载
  • vite.html vue3使用示例

技术栈:Vue、NutUI

base

base 通过 Npm 引入 NutUI 2.x 的示例,包含如下功能:

  • 基于 NutUI 搭建
  • 基于 vue-router 的单页面应用
  • 组件按需引入
  • rem 工程在 base 工程的基础上增加了移动端 rem 适配的配置。
  • theme 工程在 base 工程的基础上增加了自定义主题色的配置。

技术栈:Vue、Vue CLI、Vue Router、NutUI

typescript

基于 typescript 的工程,实现组件按需引入。

技术栈:Vue、Vue CLI、NutUI 2.x、TypeScript

  • 基于 NutUI 搭建
  • 基于 vue-router 的单页面应用
  • 组件按需引入
  • theme 工程在 base 工程的基础上增加了自定义主题色的配置。

nuxt

基于 nuxt 的示例工程。

技术栈:Vue、Nuxt、NutUI 2.x

  • 组件按需引入
  • theme 工程在 base 工程的基础上增加了自定义主题色的配置。

vite、vite-ts

基于 vite vue3 nutui 3.x 的示例工程

技术栈:Vue3、NutUI 3.x JavaScript TypeScript。

vue3

基于 vuecli vue3 nutui 3.x 的示例工程

taro

基于 taro 搭建的 nutui-taro 小程序 示例工程

预览

开发命令

# 安装依赖
# 注意:请切换到对应的子目录下安装
cd base
npm install

#按照对应package.json script 命令启动预览

nutui-demo-1's People

Contributors

richard1015 avatar drjingfubo avatar eiinu avatar shenqistart avatar liqiong-lab avatar

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.