generated from sonofmagic/npm-lib-template
-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b1f7c2
commit ce8851a
Showing
18 changed files
with
923 additions
and
872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
/* @import 'tailwindcss/base'; | ||
@import 'tailwindcss/components'; | ||
@import 'tailwindcss/utilities'; */ | ||
@import 'tailwindcss'; | ||
|
||
/* @import 'tailwindcss'; */ | ||
|
||
@import 'weapp-tailwindcss'; | ||
@config "./tailwind.config.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
apps/vite-native/components/navigation-bar/navigation-bar.json
This file was deleted.
Oops, something went wrong.
106 changes: 0 additions & 106 deletions
106
apps/vite-native/components/navigation-bar/navigation-bar.ts
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
apps/vite-native/components/navigation-bar/navigation-bar.wxml
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,4 @@ | ||
<!-- index.wxml --> | ||
<template name="staffName"> | ||
<view class="text-red-800 bg-blue-400/40">FirstName: {{firstName}}, LastName: {{lastName}}</view> | ||
</template> | ||
<navigation-bar></navigation-bar> | ||
<scroll-view scroll-y type="list"> | ||
{{ motto }} | ||
<view class="bg-[#7d7ac2] text-[100px] text-[#123456] w-[323px] {{true?'h-[30px]':'h-[45px]'}}">111</view> | ||
<view>{{message}}</view> | ||
<view wx:for="{{array}}">{{item}}</view> | ||
<template is="staffName" data="{{...staffA}}"></template> | ||
<template is="staffName" data="{{...staffB}}"></template> | ||
<template is="staffName" data="{{...staffC}}"></template> | ||
<view>{{m1.message}}</view> | ||
<wxs module="wxs" src="./test.wxs"></wxs> | ||
<view id="tapTest" data-hi="Weixin" bindtap="{{wxs.tapName}}">Click me!</view> | ||
<view class="bg-[#3a32d1] text-[100rpx] text-red-700 w-[323px] {{false?'h-[30px]':'h-[45px]'}}">222</view> | ||
</scroll-view> | ||
<template name="odd"> | ||
<view> odd </view> | ||
</template> | ||
<template name="even"> | ||
<view> even </view> | ||
</template> | ||
|
||
<block wx:for="{{[1, 2, 3, 4, 5]}}"> | ||
<template is="{{item % 2 == 0 ? 'even' : 'odd'}}"/> | ||
</block> | ||
|
||
<wxs module="m1"> | ||
var msg = "hello world"; | ||
|
||
module.exports.message = msg; | ||
</wxs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@layer theme, base, components, utilities; | ||
|
||
@import './theme.css' layer(theme); | ||
@import './preflight.css' layer(base); | ||
@import './utilities.css' layer(utilities); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) | ||
2. Remove default margins and padding | ||
3. Reset all borders. | ||
*/ | ||
|
||
*, | ||
::after, | ||
::before, | ||
::backdrop, | ||
::file-selector-button { | ||
box-sizing: border-box; /* 1 */ | ||
margin: 0; /* 2 */ | ||
padding: 0; /* 2 */ | ||
border: 0 solid; /* 3 */ | ||
} |
Oops, something went wrong.