Fixed #5728 - Remove PrimeVueStyled and PrimeVueUnstyled plugins
parent
caa55a3f9f
commit
6689f54106
|
@ -1 +0,0 @@
|
|||
export * from '../config';
|
|
@ -1,24 +0,0 @@
|
|||
import * as PrimeVueConfig from 'primevue/config';
|
||||
import Aura from 'primevue/themes/aura';
|
||||
|
||||
export const defaultOptions = {
|
||||
...PrimeVueConfig.defaultOptions,
|
||||
theme: {
|
||||
preset: Aura,
|
||||
options: {
|
||||
prefix: 'p',
|
||||
darkModeSelector: 'system',
|
||||
cssLayer: false
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const { usePrimeVue } = PrimeVueConfig;
|
||||
|
||||
export default {
|
||||
install: (app, options) => {
|
||||
const configOptions = { ...defaultOptions, ...options, unstyled: false };
|
||||
|
||||
PrimeVueConfig.setup(app, configOptions);
|
||||
}
|
||||
};
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"main": "./primevuestyled.cjs.js",
|
||||
"module": "./primevuestyled.esm.js",
|
||||
"unpkg": "./primevuestyled.min.js",
|
||||
"types": "./PrimeVueStyled.d.ts"
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
export * from '../config';
|
|
@ -1,11 +0,0 @@
|
|||
import * as PrimeVueConfig from 'primevue/config';
|
||||
|
||||
export const { defaultOptions, usePrimeVue } = PrimeVueConfig;
|
||||
|
||||
export default {
|
||||
install: (app, options) => {
|
||||
const configOptions = { ...defaultOptions, ...options, unstyled: true };
|
||||
|
||||
PrimeVueConfig.setup(app, configOptions);
|
||||
}
|
||||
};
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"main": "./primevueunstyled.cjs.js",
|
||||
"module": "./primevueunstyled.esm.js",
|
||||
"unpkg": "./primevueunstyled.min.js",
|
||||
"types": "./PrimeVueUnstyled.d.ts"
|
||||
}
|
|
@ -223,8 +223,6 @@ export default {
|
|||
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
|
||||
'primevue/service': path.resolve(__dirname, './components/lib/service/PrimeVueService.js'),
|
||||
'primevue/config': path.resolve(__dirname, './components/lib/config/PrimeVue.js'),
|
||||
'primevue/styled': path.resolve(__dirname, './components/lib/styled/PrimeVueStyled.js'),
|
||||
'primevue/unstyled': path.resolve(__dirname, './components/lib/unstyled/PrimeVueUnstyled.js'),
|
||||
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
|
||||
...STYLE_ALIAS,
|
||||
...THEME_ALIAS,
|
||||
|
|
|
@ -521,8 +521,6 @@ function addService() {
|
|||
|
||||
function addConfig() {
|
||||
addEntry('config', 'PrimeVue.js', 'config');
|
||||
addEntry('styled', 'PrimeVueStyled.js', 'primevuestyled');
|
||||
addEntry('unstyled', 'PrimeVueUnstyled.js', 'primevueunstyled');
|
||||
}
|
||||
|
||||
function addPassThrough() {
|
||||
|
|
Loading…
Reference in New Issue