Skip to content

Commit

Permalink
#157 - Fix style exporting (#158)
Browse files Browse the repository at this point in the history
* #157 - fixed style exporting

* #157 - removed purge pattern
  • Loading branch information
nandi95 authored May 19, 2021
1 parent 93b3dff commit b79a7bb
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 22 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app" class="h-full relative">
<div id="app" style="position: relative; height: 100%">
</div>
<script type="module" src="/src/demo.ts"></script>
</body>
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@karnama/vueish",
"version": "0.3.0",
"version": "0.3.1",
"files": [
"dist",
"types"
Expand Down
1 change: 0 additions & 1 deletion src/assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import { merge } from 'lodash-es';
import defaultSettings from './defaultSettings';
import tooltip from './directives/tooltip';
import intersect from './directives/intersect';
import outerHtml from './directives/outer-html';
import clickAway from './directives/clickAway';
import './assets/styles/main.scss';

const componentModules = import.meta.globEager('./**/UI*.vue');
const components: DefineComponent[] = Object.keys(componentModules)
Expand All @@ -21,5 +23,6 @@ export default {
app.directive('tooltip', tooltip);
app.directive('intersect', intersect);
app.directive('clickAway', clickAway);
app.directive('outer-html', outerHtml);
}
} as Plugin;
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const brandColors = (levels) => {
* @type {import('@types/tailwindcss').TailwindConfig}
*/
module.exports = {
purge: ['./index.html', './src/**/*.{vue,ts,tsx}'],
purge: ['./src/**/*.{vue,ts,tsx}'],
darkMode: 'class',
mode: 'jit',
theme: {
Expand Down

0 comments on commit b79a7bb

Please sign in to comment.