Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5d4f6f

Browse filesBrowse files
committed
add css
1 parent bf0bbed commit b5d4f6f
Copy full SHA for b5d4f6f

File tree

Expand file treeCollapse file tree

4 files changed

+21
-2
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+21
-2
lines changed

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+14Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"private": false,
44
"name": "vuejs-code-block",
5-
"version": "0.0.17-test",
5+
"version": "0.0.1-alpha.1",
66
"description": "A Vue 3 component of unstyled UI components to build powerful code blocks.",
77
"author": {
88
"name": "Ebraheem Alhetari",
@@ -32,6 +32,7 @@
3232
"types": "dist/index.d.ts",
3333
"main": "dist/index.cjs",
3434
"module": "dist/index.js",
35+
"style": "dist/style.css",
3536
"files": [
3637
"dist/",
3738
"README.md",
@@ -60,6 +61,7 @@
6061
"typescript": "^5.5.3",
6162
"vite": "^5.4.1",
6263
"vite-plugin-dts": "^4.2.2",
64+
"vite-plugin-libcss": "^1.1.1",
6365
"vitepress": "^1.3.4",
6466
"vue-tsc": "^2.0.29"
6567
},

‎src/index.ts

Copy file name to clipboardExpand all lines: src/index.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// import VuejsCodeBlock from './components/vuejs-code-block/VuejsCodeBlock.vue';
22

3+
import './style.css';
34
import { CodeBlock } from './components/components';
45
export { CodeBlock };
56

‎vite.config.ts

Copy file name to clipboardExpand all lines: vite.config.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ import { defineConfig } from 'vite';
33
import vue from '@vitejs/plugin-vue';
44
import { resolve } from 'path';
55
import dts from 'vite-plugin-dts';
6+
import libCss from 'vite-plugin-libcss';
67

78
export default defineConfig({
89
plugins: [
910
vue(),
1011
dts({
1112
insertTypesEntry: true,
1213
tsconfigPath: './tsconfig.json'
13-
})
14+
}),
15+
libCss()
1416
],
1517
resolve: {
1618
alias: {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.